log files
Kenneth Brody
kenbrody at spamcop.net
Tue Feb 3 11:53:03 PST 2015
On 2/3/2015 9:44 AM, Richard Kreiss wrote:
> Where one specifies a log file to use when a session starts, as the
> program appends to that log file, how is the appending affected by
> multiple users appending to the same log file?
According to the ISO standard:
> Opening a file with append mode causes all subsequent writes to the file
> to be forced to the then current end-of-file, regardless of intervening
> calls to the fseek function.
In other words, if someone else has written to the log file in the meantime,
your log entry will still append to the current end-of-file.
--
Kenneth Brody
More information about the Filepro-list
mailing list