when to fflush ?

David Skeen dls at achilleus.austin.ibm.com
Sat Jun 15 03:08:05 AEST 1991


The description of fseek() in the X/Open Portability Guide (issue 3)
says that "If the stream is writable and buffered data had not been
written to the underlying file, fseek() will cause the unwritten data
to be written to the file and mark the st_ctime and st_mtime fields of
the file for update."  I did a quick scan of POSIX 1003.1-1990, but
didn't find such an explicit statement.
--
Dave Skeen                     IBM Internal: dls at achilleus.austin.ibm.com
D61/803  Zip 2603              IBM VNET:     SKEEN at AUSTIN
Austin, TX 78758               Internet:     dls at dce.austin.ibm.com



More information about the Comp.unix.aix mailing list