home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.programmer:4323 comp.unix.misc:3240
- Path: sparky!uunet!auspex-gw!guy
- From: guy@Auspex.COM (Guy Harris)
- Newsgroups: comp.unix.programmer,comp.unix.misc
- Subject: Re: Process & Signal Question
- Message-ID: <14078@auspex-gw.auspex.com>
- Date: 15 Aug 92 18:06:07 GMT
- References: <1759227@bailey.UUCP>
- Sender: news@auspex-gw.auspex.com
- Followup-To: comp.unix.programmer
- Organization: Auspex Systems, Santa Clara
- Lines: 12
- Nntp-Posting-Host: bootme.auspex.com
-
- >You could also try opening the executable file in exclusive mode.
-
- "Exclusive mode"? Is that an HP-UXism?
-
- NOTE: O_EXCL is *NOT* "exclusive mode", when used to open an ordinary
- file, unless the system under which it's being used is a Mutant UNIX
- From Hell. It's "exclusive create" mode, which merely says that if the
- file already exists, the open should fail.
-
- An "exclusive mode" bit for "open()" might be a good idea. An
- "exclusive mode" bit for "open()" with the name O_EXCL would probably be
- a Bad Idea.
-