diff options
| author | fvdl <fvdl@NetBSD.org> | 1995-08-15 21:14:32 +0000 |
|---|---|---|
| committer | fvdl <fvdl@NetBSD.org> | 1995-08-15 21:14:32 +0000 |
| commit | 02b3c95be6462df2ce3b205fbedf4d02bd33060c (patch) | |
| tree | abcfa120cc6df2d31eff6974b22c59cb997cbde7 /sys/compat/linux/common/linux_msg.h | |
| parent | 238eb3d35a6f9f8e08556cde7bca007afd79f8e9 (diff) | |
Implement the rest of the sysv ipc calls ({sem,msg}*())
Diffstat (limited to 'sys/compat/linux/common/linux_msg.h')
| -rw-r--r-- | sys/compat/linux/common/linux_msg.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/sys/compat/linux/common/linux_msg.h b/sys/compat/linux/common/linux_msg.h index 9abd614f8b5..b7858236dbb 100644 --- a/sys/compat/linux/common/linux_msg.h +++ b/sys/compat/linux/common/linux_msg.h @@ -1,4 +1,4 @@ -/* $NetBSD: linux_msg.h,v 1.1 1995/02/28 23:25:54 fvdl Exp $ */ +/* $NetBSD: linux_msg.h,v 1.2 1995/08/15 21:14:34 fvdl Exp $ */ /* * Copyright (c) 1995 Frank van der Linden @@ -40,8 +40,8 @@ */ struct linux_msqid_ds { struct linux_ipc_perm l_msg_perm; - struct linux_msg *l_msg_first; - struct linux_msg *l_msg_last; + void *l_msg_first; + void *l_msg_last; linux_time_t l_msg_stime; linux_time_t l_msg_rtime; linux_time_t l_msg_ctime; @@ -66,6 +66,14 @@ struct linux_mymsg { }; /* + * This kludge is used for the 6th argument to the msgrcv system + * call, to get around the maximum of 5 arguments to a syscall in Linux. + */ +struct linux_msgrcv_msgarg { + struct linux_mymsg *msg; + int type; +}; +/* * For msgctl calls. */ struct linux_msginfo { |
