X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fopen3.h;h=e3e925ff04f8e4d66690aa7351f7a5e2baa09caa;hb=26aaccb0e954970d22da4dc9ef5d5b5c4f27c260;hp=c1c0e59b67611125f2a34ef20d69638b95e291bb;hpb=866799304923fff8a6f250388f697cb32fc33fb4;p=chaz%2Ftar diff --git a/src/open3.h b/src/open3.h index c1c0e59..e3e925f 100644 --- a/src/open3.h +++ b/src/open3.h @@ -18,11 +18,13 @@ along with GNU Tar; see the file COPYING. If not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ /* + * @(#)open3.h 1.4 87/11/11 + * * open3.h -- #defines for the various flags for the Sys V style 3-argument * open() call. On BSD or System 5, the system already has this in an * include file. This file is needed for V7 and MINIX systems for the * benefit of open3() in port.c, a routine that emulates the 3-argument - * call using system calls available on V7/MINIX. + * call using system calls available on V7/MINIX. * * This file is needed by PD tar even if we aren't using the * emulator, since the #defines for O_WRONLY, etc. are used in @@ -38,9 +40,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ */ /* Only one of the next three should be specified */ -#define O_RDONLY 0 /* only allow read */ -#define O_WRONLY 1 /* only allow write */ -#define O_RDWR 2 /* both are allowed */ +#define O_RDONLY 0 /* only allow read */ +#define O_WRONLY 1 /* only allow write */ +#define O_RDWR 2 /* both are allowed */ /* The rest of these can be OR-ed in to the above. */ /* @@ -50,13 +52,13 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ * it defined. */ #ifndef O_NDELAY -#define O_NDELAY 4 /* don't block on opening devices that would +#define O_NDELAY 4 /* don't block on opening devices that would * block on open -- ignored by emulator. */ #endif -#define O_CREAT 8 /* create file if needed */ -#define O_EXCL 16 /* file cannot already exist */ -#define O_TRUNC 32 /* truncate file on open */ -#define O_APPEND 64 /* always write at end of file -- ignored by emul */ +#define O_CREAT 8 /* create file if needed */ +#define O_EXCL 16 /* file cannot already exist */ +#define O_TRUNC 32 /* truncate file on open */ +#define O_APPEND 64 /* always write at end of file -- ignored by emul */ #ifdef EMUL_OPEN3 /*