diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-06-11 18:32:25 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-06-11 18:32:25 +0000 |
commit | 972db8ac87c9fdf7160f080d738040aa720f719c (patch) | |
tree | 7b0fcf15c0cfb9b0af9865d566b5eafd920bdf1f /lib/libc/sys/msgctl.2 | |
parent | 13a4ff03320e09fd87539e8e2116c1580d09806d (diff) |
change ipc.h to use uid_t and friends, and then build compat system calls for the old ushort based ipc.h
Diffstat (limited to 'lib/libc/sys/msgctl.2')
-rw-r--r-- | lib/libc/sys/msgctl.2 | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/lib/libc/sys/msgctl.2 b/lib/libc/sys/msgctl.2 index 4538a391a39..42afd48f40e 100644 --- a/lib/libc/sys/msgctl.2 +++ b/lib/libc/sys/msgctl.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: msgctl.2,v 1.4 1997/11/24 02:07:29 deraadt Exp $ +.\" $OpenBSD: msgctl.2,v 1.5 1998/06/11 18:32:08 deraadt Exp $ .\" $NetBSD: msgctl.2,v 1.2 1997/03/27 08:20:35 mikel Exp $ .\" .\" Copyright (c) 1995 Frank van der Linden @@ -59,15 +59,15 @@ The data structure is defined in and contains (amongst others) the following members: .Bd -literal struct msqid_ds { - struct ipc_perm msg_perm; /* msg queue permission bits */ - u_long msg_cbytes; /* # of bytes in use on the queue */ - u_long msg_qnum; /* # of msgs in the queue */ - u_long msg_qbytes; /* max # of bytes on the queue */ - pid_t msg_lspid; /* pid of last msgsnd() */ - pid_t msg_lrpid; /* pid of last msgrcv() */ - time_t msg_stime; /* time of last msgsnd() */ - time_t msg_rtime; /* time of last msgrcv() */ - time_t msg_ctime; /* time of last msgctl() */ + struct ipc_perm msg_perm; /* msg queue permission bits */ + u_long msg_cbytes; /* # of bytes in use on the queue */ + u_long msg_qnum; /* # of msgs in the queue */ + u_long msg_qbytes; /* max # of bytes on the queue */ + pid_t msg_lspid; /* pid of last msgsnd() */ + pid_t msg_lrpid; /* pid of last msgrcv() */ + time_t msg_stime; /* time of last msgsnd() */ + time_t msg_rtime; /* time of last msgrcv() */ + time_t msg_ctime; /* time of last msgctl() */ }; .Ed @@ -84,13 +84,13 @@ structure is defined in and looks like this: .Bd -literal struct ipc_perm { - ushort cuid; /* creator user id */ - ushort cgid; /* creator group id */ - ushort uid; /* user id */ - ushort gid; /* group id */ - ushort mode; /* permission (9 bits, see chmod(2)) */ - ushort seq; /* sequence # (to generate unique id) */ - key_t key; /* user specified msg/sem/shm key */ + uid_t cuid; /* creator user id */ + gid_t cgid; /* creator group id */ + uid_t uid; /* user id */ + gid_t gid; /* group id */ + mode_t mode; /* permission (9 bits, see chmod(2)) */ + u_short seq; /* sequence # (to generate unique id) */ + key_t key; /* user specified msg/sem/shm key */ }; .Ed |