mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
2004-09-18 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/waitid.c (do_waitid): Pass fifth argument to system call.
This commit is contained in:
@ -30,7 +30,9 @@
|
|||||||
static inline int
|
static inline int
|
||||||
do_waitid (idtype_t idtype, id_t id, siginfo_t *infop, int options)
|
do_waitid (idtype_t idtype, id_t id, siginfo_t *infop, int options)
|
||||||
{
|
{
|
||||||
return INLINE_SYSCALL (waitid, 4, idtype, id, infop, options);
|
/* The unused fifth argument is a `struct rusage *' that we could
|
||||||
|
pass if we were using waitid to simulate wait3/wait4. */
|
||||||
|
return INLINE_SYSCALL (waitid, 5, idtype, id, infop, options, NULL);
|
||||||
}
|
}
|
||||||
# define NO_DO_WAITID
|
# define NO_DO_WAITID
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user