Skip to main content

sigignore

Function sigignore 

Source
#[unsafe(no_mangle)]
pub extern "C" fn sigignore(sig: c_int) -> c_int
👎Deprecated
Expand description

See https://pubs.opengroup.org/onlinepubs/9699919799/functions/sighold.html.

Sets the disposition of sig to SIG_IGN.

Upon success, returns 0. Upon failure, returns -1 and sets errno to indicate the error.

§Deprecated

Present in issue 7. Removed in issue 8.

Use of this function is unspecified in a multi-threaded process.

sigaction() should be used instead.

§Implementation

Calls sigaction() internally.