forked from llvm/llvm-project
-
Notifications
You must be signed in to change notification settings - Fork 334
/
Copy pathsignal.yaml
89 lines (89 loc) · 1.94 KB
/
signal.yaml
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
84
85
86
87
88
89
header: signal.h
header_template: signal.h.def
macros: []
types:
- type_name: pid_t
- type_name: sig_atomic_t
- type_name: sighandler_t
- type_name: siginfo_t
- type_name: sigset_t
- type_name: stack_t
- type_name: struct_sigaction
- type_name: union_sigval
enums: []
objects: []
functions:
- name: kill
standards:
- POSIX
return_type: int
arguments:
- type: pid_t
- type: int
- name: raise
standards:
- stdc
return_type: int
arguments:
- type: int
- name: sigaction
standards:
- POSIX
return_type: int
arguments:
- type: int
- type: const struct sigaction *__restrict
- type: struct sigaction *__restrict
- name: sigaddset
standards:
- POSIX
return_type: int
arguments:
- type: sigset_t *
- type: int
- name: sigaltstack
standards:
- POSIX
return_type: int
arguments:
- type: const stack_t *__restrict
- type: stack_t *__restrict
- name: sigdelset
standards:
- POSIX
return_type: int
arguments:
- type: sigset_t *
- type: int
- name: sigemptyset
standards:
- POSIX
return_type: int
arguments:
- type: sigset_t *
- name: sigfillset
standards:
- POSIX
return_type: int
arguments:
- type: sigset_t *
- name: signal
standards:
- stdc
# May the Geneva Convention have mercy on my soul... Why this insanity?
# Well: signal returns a function pointer to a function with no return
# value and which accepts an int. The parameter list appears on the far
# right of the declaration. i.e.
# void (*signal(int, void (*)(int)))(int);
return_type: void (*
arguments:
- type: int
- type: void (*)(int)))(int
- name: sigprocmask
standards:
- POSIX
return_type: int
arguments:
- type: int
- type: const sigset_t *__restrict
- type: sigset_t *__restrict