Article View: comp.unix.programmer
Article #1255Re: Determining if an existant file is open
From: Guy Harris
Date: Mon, 19 Nov 1990 19:53
Date: Mon, 19 Nov 1990 19:53
5 lines
667 bytes
667 bytes
>Use the exclusive flag when calling open(2) -- must be done every time. You mean O_EXCL? That flag isn't an exclusive-use open flag; it's an "exclusive create" flag. It only causes an error if O_CREAT is also set and the file already exists.
Technical Details
Message-ID:
<4454@auspex.auspex.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!auspex!guyReferences:
<1990Nov16.023110.1305@csun.edu> <1990Nov16.200945.14468@nusdecs.uucp>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.unix.programmer Subject: Re: Determining if an existant file is open Message-ID: <4454@auspex.auspex.com> Date: 19 Nov 90 19:53:44 GMT References: <1990Nov16.023110.1305@csun.edu> <1990Nov16.200945.14468@nusdecs.uucp> Organization: Auspex Systems, Santa Clara Lines: 5