sgetmask - Online Linux Manual PageSection : 2
Updated : 2022-10-30
Source : Linux man-pages 6.03

NAMEsgetmask, ssetmask − manipulation of signal mask (obsolete)

LIBRARYStandard C library (libc, −lc)

SYNOPSIS#include <sys/syscall.h> /* Definition of SYS_* constants */ #include <unistd.h>[[deprecated]] long syscall(SYS_sgetmask, void); [[deprecated]] long syscall(SYS_ssetmask, long newmask);

DESCRIPTIONThese system calls are obsolete. Do not use them; use sigprocmask(2) instead. sgetmask() returns the signal mask of the calling process. ssetmask() sets the signal mask of the calling process to the value given in newmask. The previous signal mask is returned. The signal masks dealt with by these two system calls are plain bit masks (unlike the sigset_t used by sigprocmask(2)); use sigmask(3) to create and inspect these masks.

RETURN VALUEsgetmask() always successfully returns the signal mask. ssetmask() always succeeds, and returns the previous signal mask.

ERRORSThese system calls always succeed.

VERSIONSSince Linux 3.16, support for these system calls is optional, depending on whether the kernel was built with the CONFIG_SGETMASK_SYSCALL option.

STANDARDSThese system calls are Linux-specific.

NOTESThese system calls are unaware of signal numbers greater than 31 (i.e., real-time signals). These system calls do not exist on x86-64. It is not possible to block SIGSTOP or SIGKILL.

SEE ALSOsigprocmask(2), signal(7)
0
Johanes Gumabo
Data Size   :   6,882 byte
man-sgetmask.2Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 226,275
Visitor ID   :     :  
Visitor IP   :   3.129.22.34   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.