From 977bfd77e6cd739c82491fa9fe4b54b269ea349d Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 19 Jun 1998 11:09:14 +0000 Subject: Update. 1998-06-19 Ulrich Drepper * sysdeps/generic/bits/sem.h: Don't define union semun. * sysdeps/unix/sysv/linux/bits/sem.h: Fix typo. * sysdeps/unix/sysv/linux/bits/ipc.h: Remove ipc_kludge definition here. * sysdeps/unix/sysv/linux/msgrcv.c (msgrcv): Add ipc_kludge definition here. --- sysdeps/unix/sysv/linux/msgrcv.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'sysdeps/unix/sysv/linux/msgrcv.c') diff --git a/sysdeps/unix/sysv/linux/msgrcv.c b/sysdeps/unix/sysv/linux/msgrcv.c index 40c3c95728..a8a0dea3fe 100644 --- a/sysdeps/unix/sysv/linux/msgrcv.c +++ b/sysdeps/unix/sysv/linux/msgrcv.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1995, 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , August 1995. @@ -19,6 +19,16 @@ #include + +/* Kludge to work around Linux' restriction of only up to five + arguments to a system call. */ +struct ipc_kludge + { + void *msgp; + long int msgtyp; + }; + + int msgrcv (msqid, msgp, msgsz, msgtyp, msgflg) int msqid; -- cgit v1.2.3