aarch64: add hwcap header file
[uclibc-ng.git] / libc / sysdeps / linux / common / wait.c
blobdf4005839cb6d7fb3efc94d7142ed7f96a4bb3bb
1 /*
2 * Copyright (C) 2006 Steven J. Hill <sjhill@realitydiluted.com>
3 * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
5 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
6 */
7 #include <sys/wait.h>
8 #include <cancel.h>
10 static pid_t __NC(wait)(__WAIT_STATUS_DEFN stat_loc)
12 return __wait4_nocancel(WAIT_ANY, stat_loc, 0, (struct rusage *)NULL);
14 CANCELLABLE_SYSCALL(pid_t, wait, (__WAIT_STATUS_DEFN stat_loc), (stat_loc))