File: assertions.xml

package info (click to toggle)
posixtestsuite 1.5.2-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,440 kB
  • sloc: ansic: 117,313; xml: 7,497; sh: 1,148; makefile: 281; perl: 34
file content (33 lines) | stat: -rw-r--r-- 1,259 bytes parent folder | download | duplicates (8)
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
<assertions>
  <assertion id="1" tag="ref:XSH6:22101:22101 pt:XSI">
The killpg () function sends the signal sig to the process 
group pgrp.
  </assertion>
  <assertion id="2" tag="ref:XSH6:22102:22102 pt:XSI">
killpg(pgrp, sig) is equivalent to kill(-pgrp, sig), when pgrp is greater than 1,
  </assertion>
  <assertion id="3" tag="ref:XSH6:22102:22103 pt:XSI">
The behavior of killpg ( ) is undefined if pgrp is less than or equal to 1.
  </assertion>
  <assertion id="4" tag="ref:XSH6:22105:22105 pt:XSI">
killpg returns 0 upon successful completion. 
  </assertion>
  <assertion id="5" tag="ref:XSH6:22105:22106 pt:XSI">
killpg returns -1, upon unsuccessful completion.
  </assertion>
  <assertion id="6" tag="ref:XSH6:22009:22009 pt:XSI">
errno shall be set to EINVAL, when tThe value of the sig argument is an 
invalid or unsupported signal 
number.
  </assertion>
  <assertion id="7" tag="ref:XSH6:22010:22011 pt:XSI">
errno shall be set to EPERM, when the process does not have permission to 
send the signal to any 
receiving process.
  </assertion>
  <assertion id="8" tag="ref:XSH6:22012:22013 pt:XSI">
errno shall be set to ESRCH, when no process or process group can be found 
corresponding to that specified by pid.
  </assertion>
</assertions>