fopen ( ..., "a" ) --- how does the "a" work?

Doug Gwyn gwyn at smoke.BRL.MIL
Fri Dec 8 13:49:51 AEST 1989


In article <1989Dec7.130813.4992 at virtech.uucp> cpcahil at virtech.uucp (Conor P. Cahill) writes:
-Under other os's this will depend upon the capabilities of the os.
-Else If the system has a mechanism to move around a file (like unix lseek())
-	it will probably be used to move to the end of the file before each
-	write.

On a single-user non-multitasking system, a better implementation would
be to seek to the end only on the initial open, not for each write.



More information about the Comp.unix.questions mailing list