File: rtlinux_sigsetops.3

package info (click to toggle)
rtlinux 3.1pre3-2
  • links: PTS
  • area: non-free
  • in suites: sarge, woody
  • size: 4,892 kB
  • ctags: 4,228
  • sloc: ansic: 26,204; sh: 2,069; makefile: 1,414; perl: 855; tcl: 489; asm: 380; cpp: 42
file content (115 lines) | stat: -rw-r--r-- 3,271 bytes parent folder | download | duplicates (2)
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
.\" This -*- nroff -*- file has been generated from
.\" DocBook SGML with docbook-to-man on Debian GNU/Linux.
...\"
...\"	transcript compatibility for postscript use.
...\"
...\"	synopsis:  .P! <file.ps>
...\"
.de P!
\\&.
.fl			\" force out current output buffer
\\!%PB
\\!/showpage{}def
...\" the following is from Ken Flowers -- it prevents dictionary overflows
\\!/tempdict 200 dict def tempdict begin
.fl			\" prolog
.sy cat \\$1\" bring in postscript file
...\" the following line matches the tempdict above
\\!end % tempdict %
\\!PE
\\!.
.sp \\$2u	\" move below the image
..
.de pF
.ie     \\*(f1 .ds f1 \\n(.f
.el .ie \\*(f2 .ds f2 \\n(.f
.el .ie \\*(f3 .ds f3 \\n(.f
.el .ie \\*(f4 .ds f4 \\n(.f
.el .tm ? font overflow
.ft \\$1
..
.de fP
.ie     !\\*(f4 \{\
.	ft \\*(f4
.	ds f4\"
'	br \}
.el .ie !\\*(f3 \{\
.	ft \\*(f3
.	ds f3\"
'	br \}
.el .ie !\\*(f2 \{\
.	ft \\*(f2
.	ds f2\"
'	br \}
.el .ie !\\*(f1 \{\
.	ft \\*(f1
.	ds f1\"
'	br \}
.el .tm ? font underflow
..
.ds f1\"
.ds f2\"
.ds f3\"
.ds f4\"
'\" t 
.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n  
.TH "rtlinux_sigsetops" "3" 
.SH "NAME" 
rtlinux_sigemptyset, rtlinux_sigfillset, rtlinux_sigaddset, 
rtlinux_sigdelset, rtlinux_ismember \(em RTLinux User-Level signal set operations 
.SH "SYNOPSIS" 
.PP 
.nf 
.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n 
#include <rtl_signal.h> 
 
int \fBrtlinux_sigemptyset\fP(rtlinux_sigset_t * \fBset\fR); 
int \fBrtlinux_sigfillset\fP(rtlinux_sigset_t * \fBset\fR); 
int \fBrtlinux_sigaddset\fP(rtlinux_sigset_t * \fBset\fR, int \fBsignum\fR); 
int \fBrtlinux_sigdelset\fP(rtlinux_sigset_t * \fBset\fR, int \fBsignum\fR); 
int \fBrtlinux_sigismember\fP(rtlinux_sigset_t * \fBset\fR, int \fBsignum\fR); 
.fi 
.SH "DESCRIPTION" 
.PP 
The \fBrtlinux_sigsetops\fP(3) functions allow the manipulation 
of RTLinux signal sets, similar to \fBsigsetops\fP(3). 
.PP 
\fBrtlinux_sigemptyset\fP initializes the set given by 
\fBset\fR to empty, with all signals excluded from the set. 
.PP 
\fBrtlinux_sigfillset\fP initializes the set given by 
\fBset\fR to full, including all signals. 
.PP 
\fBrtlinux_sigaddset\fP and 
\fBrtlinux_sigdelset\fP add and delete, respectively, signal 
\fBsignum\fR from \fBset\fR. 
.PP 
\fBrtlinux_sigismember\fP tests whether 
\fBsignum\fR is a member of \fBset\fR. 
.SH "RETURN VALUES" 
.PP 
\fBrtlinux_sigemptyset\fP,  
\fBrtlinux_sigfullset\fP,  
\fBrtlinux_sigaddset\fP, and 
\fBrtlinux_sigdelset\fP return 0 on success and -1 on error. 
.PP 
\fBrtlinux_sigismember\fP returns 1 if 
\fBsignum\fR is a member of \fBset\fR, 0 if 
\fBsignum\fR is not a member, and -1 on error. 
.SH "ERRORS" 
.IP "EINVAL" 10 
\fBsig\fR is not a valid  
signal. 
.SH "AUTHOR" 
.PP 
Nathan Paul Simons (\fInpsimons@fsmlabs.com (link to URL mailto:npsimons@fsmlabs.com) \fR) 
.SH "NOTES" 
.PP 
This function is only available in Linux user processes. RTLinux threads can not use this function. 
.SH "SEE ALSO" 
\fIrtlinux_sigaction(3) (link to URL rtlinux_sigaction.3.html) \fR, \fIrtlinux_sigprocmask(3) (link to URL rtlinux_sigprocmask.3.html) \fR, \fIrtlinux_signal(3) (link to URL rtlinux_signal.3.html) \fR, sigsetops(3) 
.PP 
\(co2001 FSMLabs Inc. 
.PP 
All rights reserved. 
...\" created by instant / docbook-to-man, Wed 13 Jun 2001, 17:58