#[unsafe(no_mangle)]pub extern "C" fn siginterrupt(sig: c_int, flag: c_int) -> c_int👎Deprecated
Expand description
See https://pubs.opengroup.org/onlinepubs/9699919799/functions/siginterrupt.html.
Changes the restart behaviour when a function is interrupted by the specified signal.
Upon success, returns 0. Upon failure, returns -1 and sets errno to
indicate the error.
§Deprecated
Marked obsolescent in issue 7. Removed in issue 8.
Should use sigaction() with the SA_RESTART flag instead.
§Implementation
Internally uses sigaction() with the SA_RESTART flag.