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

Re: Where is O_SHLOCK and O_EXLOCK defined?



I must have look it up from either FreeBSD or GNU man page.
I change to use 'flock' after a successful open().  I guess that is equivalent.
 
Alex


From: Russ Allbery <rra@debian.org>
To: debian-devel@lists.debian.org
Sent: Fri, November 19, 2010 5:01:06 PM
Subject: Re: Where is O_SHLOCK and O_EXLOCK defined?

"T. Alex Chen" <alex_chen@yahoo.com> writes:

> I am trying to use 'open()' with some file control flags. According to
> Linux manual of 'open()':

What Linux man page are you looking at that contains that list?  man
open(2) in manpages-dev 3.25-1 doesn't mention either of those flags.

--
Russ Allbery (rra@debian.org)              <http://www.eyrie.org/~eagle/>


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/87wro86c6l.fsf@windlord.stanford.edu



Reply to: