Fixed binary search: no more infinite loops when vendor is unknown.
[tangerine.git] / compiler / clib / include / sys / wait.h
blob68f62c781f1720a403f5cc35281f354cee3bf45b
1 /*
2 Copyright © 2002-2004, The AROS Development Team.
3 All rights reserved.
5 $Id$
6 */
8 #ifndef SYS_WAIT_H_
9 #define SYS_WAIT_H_
11 #ifndef SYS_TYPES_H
12 #include <sys/types.h>
13 #endif
15 #define WNOHANG 0x00000001
16 #define WUNTRACED 0x00000002
17 #define WSTOPPED WUNTRACED
18 #define WEXITED 0x00000004
19 #define WCONTINUED 0x00000008
21 #define WIFEXITED(status) 1
22 #define WEXITSTATUS(status) (status & 0xff)
23 #define WIFSIGNALED(status) 0
24 #define WTERMSIG(status) 0
25 #define WIFSTOPPED(status) 0
26 #define WSTOPSIG(status) 0
27 #define WIFCONTINUED(status) 0
29 pid_t wait(int *status);
30 pid_t waitpid(pid_t pid, int *status, int options);
32 //struct rusage;
33 //pid_t wait3(int *, int, struct rusage *);
34 //pid_t wait4(pid_t, int *, int, struct rusage *);
36 #endif /* SYS_WAIT_H_ */