Files
oldlinux-files/Ref-docs/syscalls/syscalls_100.html
2024-02-19 00:21:47 -05:00

30 lines
1.4 KiB
HTML

<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://www.infran.ru/TechInfo/syscalls/syscalls_99.html">previous</A>, <A HREF="syscalls_101.html" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_101.html">next</A> section.<P>
<H2><A NAME="SEC100" HREF="syscalls_toc.html#SEC100" tppabs="http://www.infran.ru/TechInfo/syscalls/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://www.infran.ru/TechInfo/syscalls/syscalls_99.html">previous</A>, <A HREF="syscalls_101.html" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_101.html">next</A> section.<P>