📄 syscalls_100.html
字号:
<!-- This HTML file has been created by texi2html 1.29
from syscalls.texi on 4 June 1994 -->
<TITLE>Syscall specifications of Linux - sgetmask</TITLE>
<P>Go to the <A HREF="syscalls_99.html" tppabs="http://personal.xfol.com/%7erezaie/syscall/syscalls_99.html">previous</A>, <A HREF="syscalls_101.html" tppabs="http://personal.xfol.com/%7erezaie/syscall/syscalls_101.html">next</A> section.<P>
<H2><A NAME="SEC100" HREF="syscalls_toc.html#SEC100" tppabs="http://personal.xfol.com/%7erezaie/syscall/syscalls_toc.html#SEC100">sgetmask and ssetmask</A></H2>
<P>
<H3>SYNOPSIS</H3>
<P>
<CODE>sigset_t sgetmask(void);</CODE>
<P>
<CODE>sigset_t ssetmask(sigset_t <VAR>mask</VAR>);</CODE>
<P>
<H3>PARAMETERS</H3>
<P>
<VAR>mask</VAR>: [in] the new signal mask.
<P>
<H3>DESCRIPTION</H3>
<P>
<CODE>sgetmask</CODE> retreives the signal mask of the current task and
<CODE>ssetmask</CODE> sets it to <VAR>mask</VAR>. A signal is blocked by setting
the bit corresponding to the signal number in <VAR>mask</VAR>.
<P>
<H3>RETURN VALUE</H3>
<P>
Both calls return the signal mask at the time of the call (that means,
in the case of <CODE>ssetmask</CODE> before modifying it).
<P>
<P>Go to the <A HREF="syscalls_99.html" tppabs="http://personal.xfol.com/%7erezaie/syscall/syscalls_99.html">previous</A>, <A HREF="syscalls_101.html" tppabs="http://personal.xfol.com/%7erezaie/syscall/syscalls_101.html">next</A> section.<P>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -