[comp.unix.xenix] locking mail files

gz@eddie.MIT.EDU (Gail Zacharias) (10/15/87)

I'm trying to write a program which needs to modify a user's mail file,
and hence need to get exclusive access to it for a short time.  I know
that on BSD systems I've used, one could create a file called foo.lock
to get a lock on foo's mail file.  This doesn't seem to work on the Xenix
system (I was able to get mail delivered while a .lock file existed).  Is
there an equivalent protocol that Xenix mail/uucp obey?  I'm using
SCO Xenix if it matters.


				...!mit-eddie!spt!gz