Path: utzoo!attcan!uunet!seismo!sundc!pitstop!sun!gorodish!guy From: guy@gorodish.Sun.COM (Guy Harris) Newsgroups: comp.unix.wizards Subject: Re: Portable Message Queues Message-ID: <68546@sun.uucp> Date: 15 Sep 88 18:02:15 GMT References: <7317@umn-cs.cs.umn.edu> <12560@ncoast.UUCP> Sender: news@sun.uucp Lines: 9 > Is O_EXCL portable? I know System V has it, but possibly not BSD. 4.2BSD and subsequent BSD releases have all the O_* flags that S5R2 had, including O_EXCL. (O_NDELAY has some differences in its behavior, however.) No current BSD release has the O_EXCL flag that first appeared in a release after S5R2 (there was a bit that did some of O_EXCL in earlier releases, but it was for use inside the kernel only, and was, as I remember missing some pieces that were necessary to make it useful; I guess they put in the pieces and advertised the flag). It's probably not hard to add to BSD.