HP OpenVMS Systemsask the wizard |
The Question is:
This question concerns file sharing using the C RTL. When I append to a file
which is opened using the following statement in C:
logFile = fopen( argv[1], "a", "ctx=rec", "shr=get" );
Another process reading this file cannot see the new data until the file is
actually closed. Calling fflush() has no effect in this regard. How can I
append to a sequential file from C and allow other processes to see the data
I've written to the file w
ithout closing the file?
Thanks.
The Answer is : Please see the OpenVMS FAQ for some of the more common C programming questions, and please see topic (2867) here in the Ask The Wizard area for a C example of RMS shared file access.
|