[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

O_APPEND, file locking...



quick question: on what filesystems does O_APPEND (or fopen (.. "a"))
work with > 1 processes writing to the same file?  i doubt it does on
GEMDOSfs, but on others?  reason i ask is should i put locking code
around simple one-line fprintfs to logfiles.. i would rather not :-)

 i also noticed that flock etc don't use F_SETLKW, is there a deeper
reason?

 (i'm just preparing an `update' for the old hacked-up smail 2.5 that
some of use are still using here...  works quite well with elm and
taylor uucp on MiNT now btw.)
-- 
J"urgen Lock / nox@jelal.north.de / UUCP: ..!uunet!unido!uniol!jelal!nox
								...ohne Gewehr
PGP public key fingerprint =  8A 18 58 54 03 7B FC 12  1F 8B 63 C7 19 27 CF DA