• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<assertions>
2  <assertion id="1" tag="ref:XSH6:36082:36082 pt:CX">
3   The raise() function sends signal sig to the thread or process currently
4   executing.
5  </assertion>
6  <assertion id="2" tag="ref:XSH6:36082:36083 pt:CX">
7   If a signal handler is called, the raise() function shall not return until
8   after the signal handler does.
9  </assertion>
10  <assertion id="3" tag="ref:XSH6:36084:36086 pt:THR">
11   If the implementation supports Threads, then raise() is equivalent to:
12   pthread_kill(pthread_self(), sig);
13  </assertion>
14  <assertion id="4" tag="ref:XSH6:36088:36089">
15   If the implementation does not support threads, then raise() is
16   equivalent to:
17   kill(getpid(), sig);
18  </assertion>
19  <assertion id="5" tag="ref:XSH6:36092:36092">
20   Upon successful completion, raise() shall return 0.
21  </assertion>
22  <assertion id="6" tag="ref:XSH6:36092:36093">
23   Upon unsuccessful completion, raise() shall return a non-zero value.
24  </assertion>
25  <assertion id="7" tag="ref:XSH6:36093:36096">
26   Upon unsuccessful completion, raise() sets errno to indicate the
27   error.  The only defined value of errno for raise() is EINVAL if the
28   value of the sig argument is an invalid signal number.
29  </assertion>
30  <assertion id="10000" tag="ref:XSH6:36082:36096">
31   Multiple assertions tested.
32  </assertion>
33</assertions>
34
35