SIGPROCMASK(3POSIX)
β¨ hey bestie, welcome to SIGPROCMASK(3POSIX) β¨
okay so real talk β this one is a page from the POSIX Programmer's Manual, and it's short and sweet, so let's get into it π
π PROLOG π
So first things first: this manual page is part of the POSIX Programmer's Manual. That's the tea.
But heads up, bestie: the Linux implementation of this interface may differ β so if you're on Linux, go consult the corresponding Linux manual page for the deets on Linux behavior. Also possible: the interface might not even be implemented on Linux at all. π So vibe check your platform before you commit, fr fr.
π¦ NAME π¦
sigprocmask β examine and change blocked signals β¨
like. it looks at your blocked signals and it changes them. main character energy for real.
πΈ SYNOPSIS πΈ
#include <signal.h>
int sigprocmask(int how, const sigset_t *restrict set,
sigset_t *restrict oset);
that's the whole signature, no cap π
π DESCRIPTION π
okay so this is gonna be the shortest description you've ever read and honestly? iconic:
Refer to pthread_sigmask().
that's it. that's the description. go read that one, bestie π«Ά
π COPYRIGHT π
ngl the lawyers had to get their moment too, so here it is:
Portions of this text are reprinted and reproduced in electronic form from IEEE Std 1003.1-2017, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 7, 2018 Edition, Copyright (C) 2018 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group.
and in the event of any discrepancy between this version and the original IEEE and The Open Group Standard β the original IEEE and The Open Group Standard is the referee document. no arguing with the referee, that's the rule π
The original Standard can be obtained online at http://www.opengroup.org/unix/online.html
Also, any typographical or formatting errors that appear in this page are most likely to have been introduced during the conversion of the source files to man page format. To report such errors, see https://www.kernel.org/doc/man-pages/reporting_bugs.html
and that's the whole page, bestie π shoutout to IEEE/The Open Group, 2017 for bringing us this absolute gem β stan a standards body that keeps it brief, we love to see it πβ¨
π¦ where this page comes from
- debian bookworm: manpages-posix-dev 2017a-2 Β· Other
- debian trixie: manpages-posix-dev 2017a-2 Β· Other
- ubuntu jammy: manpages-posix-dev 2017a-2 Β· Other
- ubuntu noble: manpages-posix-dev 2017a-2 Β· Other
- ubuntu resolute: manpages-posix-dev 2017a-2build1 Β· Other
- ubuntu stonking: manpages-posix-dev 2017a-2.1 Β· Other
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms