SIGPROCMASK(3P)

🌸 SIGPROCMASK(3P) β€” the POSIX Programmer's Manual, bestie edition 🌸

okay so this page lives in the POSIX Programmer's Manual and we're gonna go through it together, no skipping, pinky promise πŸ’–


✨ PROLOG ✨

okay so real talk before we start: this manual page is part of the POSIX Programmer's Manual.

heads up bestie πŸ’€ the Linux implementation of this interface may differ β€” like, actually differ β€” so go consult the corresponding Linux manual page for the deets on Linux behavior. or, plot twist, the interface may not even be implemented on Linux at all. vibe check accordingly πŸ™ˆ

πŸ‘‘ NAME πŸ‘‘

sigprocmask β€” examine and change blocked signals

that's the whole job description, she's a two-for-one icon πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

#include <signal.h>

int sigprocmask(int how, const sigset_t *restrict set,
    sigset_t *restrict oset);

look at her. three args, all of them matter, all of them exactly as written. don't be out here renaming anything, fr fr 🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

Refer to pthread_sigmask().

that's it. that's the description. she said "go read the other one" and honestly? valid. main character energy of delegating 😌


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.

so like, 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. that's the rule, no cap 🫑

The original Standard can be obtained online at http://www.opengroup.org/unix/online.html .

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, babe ✨ shoutout to IEEE/The Open Group, 2017, holding it down at the bottom of SIGPROCMASK(3P) like the icons they are πŸ’–πŸŽ€πŸ¦‹ slay, go unblock something (or don't), bye bestie πŸ‘‘

πŸ“¦ where this page comes from