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 <r...@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_c...@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 (r...@debian.org)              <http://www.eyrie.org/~eagle/>


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


      

Reply via email to