file system query

Doug Gwyn <gwyn> gwyn at brl-tgr.ARPA
Sun May 5 17:49:07 AEST 1985


> Opening for append using [see] fopen(3) does not cause anything
> of great magic to happen to the op system.  The basic procedure
> involved is:
>	...

NO!  O_APPEND is enforced inside the kernel and causes true
append, atomic within reasonable sizes of write requests.
Several processes can append to the same file without clobbering
each others' records.  Indeed, that is why O_APPEND was invented.



More information about the Comp.unix mailing list