sigprocmask (Unix)

From Wikipedia, the free encyclopedia
Jump to: navigation, search

In Unix and Unix-like operating systems, sigprocmask is a system call used to change or examine the list of currently blocked signals. Blocked signals are not delivered to the process until unblocked.

Signals that cannot be ignored (SIGKILL and SIGSTOP) cannot be blocked. it has three arguments, out of which, second and third are of type, sigset_t.The first argument decides what has to be done to the arg2 and arg3.