File: wait.h-data

package info (click to toggle)
glibc 2.19-11
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 202,392 kB
  • ctags: 140,042
  • sloc: ansic: 969,214; asm: 241,208; sh: 10,046; makefile: 8,471; cpp: 3,595; perl: 2,077; pascal: 1,839; awk: 1,704; yacc: 317; sed: 73
file content (83 lines) | stat: -rw-r--r-- 1,573 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
#if !defined ISO && !defined ISO99 && !defined ISO11
#ifdef  POSIX
# define pid_t __pid_t
# define uid_t __uid_t
#endif

constant WNOHANG
constant WUNTRACED

macro WEXITSTATUS
# if !defined POSIX && !defined POSIX2008
macro WIFCONTINUED
# endif
macro WIFEXITED
macro WIFSIGNALED
macro WIFSTOPPED
macro WSTOPSIG
macro WTERMSIG

constant WEXITED
constant WSTOPPED
# if !defined POSIX && !defined POSIX2008
constant WCONTINUED
# endif
constant WNOHANG
constant WNOWAIT

#if !defined POSIX
type idtype_t

constant P_ALL
constant P_PID
constant P_PGID

type id_t
#endif

type siginfo_t

element siginfo_t int si_signo
element siginfo_t int si_errno
element siginfo_t int si_code
element siginfo_t pid_t si_pid
element siginfo_t uid_t si_uid
element siginfo_t {void*} si_addr
element siginfo_t int si_status
element siginfo_t long si_band
element siginfo_t {union sigval} si_value

#if !defined POSIX && !defined XPG3 && !defined XOPEN2K8 && !defined POSIX2008
type {struct rusage}

element {struct rusage} {struct timeval} ru_utime
element {struct rusage} {struct timeval} ru_stime
#endif

type pid_t

function pid_t wait (int*)
#if !defined POSIX && !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
function pid_t wait3 (int*, int, struct rusage*)
#endif
#if !defined POSIX
function int waitid (idtype_t, id_t, siginfo_t*, int)
#endif
function pid_t waitpid (pid_t, int*, int)

allow-header signal.h
allow-header sys/resource.h

allow si_*
allow W*
allow P_*
allow BUS_
allow CLD_
allow FPE_
allow ILL_
allow POLL_
allow SEGV_
allow SI_
allow TRAP_
allow *_t
#endif