# Walter Roberson wrote:
# > In article <
[email protected]>,
# > >japhy wrote:
# > >> Is there a way to read a line (a series of characters ending in a
# > >> newline) from a file (either by descriptor or stream) atomically,
# > >> without buffering additional contents of the file?
# >
# > >The word atomic is inappropriate in the context in which you've used
# > >it. Even when buffering is disabled, I/O is not guaranteed to be an
# > >atomic operation.
# >
# > Though if you make the step over to POSIX, writes below a
# > system-dependant size are promised to be atomic. POSIX needs
# > this property because it deals with multiple processes (and
# > multiple threads in later editions) and it would be a real
# > nuisance to have the output of one write intermixed with the
# > output of another write.
#
# Yes, thanks, I should probably have mentioned that, but I was thinking
# more along the lines of the C standard's assurances with regard to
# atomic operations.
#
#
#