Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
SIGPROCM.2
Upload User: jnzhq888
Upload Date: 2007-01-18
Package Size: 51694k
Code Size: 1k
Category:
OS Develop
Development Platform:
WINDOWS
- .TH SIGPROCMASK 2
- .SH NAME
- sigprocmask - manipulate the signal mask
- .SH SYNOPSIS
- .ft B
- #include <signal.h>
- int sigprocmask(int fIhowfP, const sigset_t *fIsetfP, sigset_t *fIosetfP)
- .ft P
- .SH DESCRIPTION
- .B Sigprocmask()
- examines or manipulates the signal mask. This mask is the set of signals
- that are currently blocked. The
- .I how
- argument determines the action that must be performed. In all cases the
- signal set referenced by
- .IR oset ,
- if not
- .BR NULL ,
- will be used to receive the old signal mask. The
- .I set
- argument, if not
- .BR NULL ,
- will be used to set or modify the current signal mask.
- .PP
- .I How
- can be one of:
- .PP
- .TP 15
- .B SIG_BLOCK
- Add the signals referenced by
- .I set
- to the mask.
- .TP
- .B SIG_UNBLOCK
- Remove the signals referenced by
- .I set
- from the mask.
- .TP
- .B SIG_SETMASK
- Set the signal mask to the set referenced by
- .IR set .
- .PP
- The value of
- .I how
- is ignored if
- .I set
- is
- .BR NULL .
- .SH "SEE ALSO"
- .BR sigaction (2),
- .BR sigpending (2),
- .BR sigsuspend (2),
- .BR sigset (3).
- .SH DIAGNOSTICS
- Returns
- .B 0
- on success and
- .B -1
- on error. The error code is
- .B EFAULT
- for a bad
- .I set
- or
- .I oset
- address, or
- .B EINVAL
- for a bad
- .I how
- argument.
- .SH AUTHOR
- Kees J. Bot (kjb@cs.vu.nl)