diff options
author | dg <dg@FreeBSD.org> | 1994-12-30 05:38:14 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1994-12-30 05:38:14 +0000 |
commit | 566a3ed4e692ab1c47aa5269ac09fb09c3848f31 (patch) | |
tree | 17f37dbc0ab0f40358a5361fe64151c468f8b60c /sys/sys/ipc.h | |
parent | bd143034a7c6da8a8e5ab1b385c95202043510ab (diff) | |
download | FreeBSD-src-566a3ed4e692ab1c47aa5269ac09fb09c3848f31.zip FreeBSD-src-566a3ed4e692ab1c47aa5269ac09fb09c3848f31.tar.gz |
Fix specification of octal constants.
Submitted by: John Beukema <jbeukema@HK.Super.NET>
Diffstat (limited to 'sys/sys/ipc.h')
-rw-r--r-- | sys/sys/ipc.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/sys/ipc.h b/sys/sys/ipc.h index bc63d69..4e53784 100644 --- a/sys/sys/ipc.h +++ b/sys/sys/ipc.h @@ -41,7 +41,7 @@ * SUCH DAMAGE. * * @(#)ipc.h 8.3 (Berkeley) 1/21/94 - * $Id: ipc.h,v 1.3 1994/09/13 14:47:33 dfr Exp $ + * $Id: ipc.h,v 1.4 1994/10/02 17:24:47 phk Exp $ */ /* @@ -63,14 +63,14 @@ struct ipc_perm { }; /* common mode bits */ -#define IPC_R 00400 /* read permission */ -#define IPC_W 00200 /* write/alter permission */ -#define IPC_M 10000 /* permission to change control info */ +#define IPC_R 000400 /* read permission */ +#define IPC_W 000200 /* write/alter permission */ +#define IPC_M 010000 /* permission to change control info */ /* SVID required constants (same values as system 5) */ -#define IPC_CREAT 01000 /* create entry if key does not exist */ -#define IPC_EXCL 02000 /* fail if key exists */ -#define IPC_NOWAIT 04000 /* error if request must wait */ +#define IPC_CREAT 001000 /* create entry if key does not exist */ +#define IPC_EXCL 002000 /* fail if key exists */ +#define IPC_NOWAIT 004000 /* error if request must wait */ #define IPC_PRIVATE (key_t)0 /* private key */ |