Date: Wed, 22 Oct 1997 15:11:52 -0400 (GMT-0400) From: Snob Art Genre <ben@multivac.narcissus.net> To: "David E. Cross" <dec@phoenix.its.rpi.edu> Cc: J Wunsch <j@uriah.heep.sax.de>, FreeBSD hackers <freebsd-hackers@FreeBSD.ORG> Subject: Re: Possible SERIOUS bug in open()? Message-ID: <Pine.NXT.3.96.971022151033.254B-100000@multivac.narcissus.net> In-Reply-To: <Pine.BSF.3.96.971022142133.15884B-100000@phoenix.its.rpi.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 22 Oct 1997, David E. Cross wrote: > I thought that O_RDRW = O_RDONLY | O_WRONLY. Tsk -- do your research. From /usr/include/fcntl.h: #define O_RDONLY 0x0000 /* open for reading only */ #define O_WRONLY 0x0001 /* open for writing only */ #define O_RDWR 0x0002 /* open for reading and writing */ Ben "You have your mind on computers, it seems."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NXT.3.96.971022151033.254B-100000>