POSIX_SPA...SIGDEFAULT(3P)

✨ PROLOG ✨

okay bestie, real talk before we get into it πŸ’– this page is part of the POSIX Programmer's Manual. But here's the tea: the Linux implementation of this interface may be different from what's written here β€” so pls go consult the corresponding Linux manual page for the deets on Linux behavior. Also possible? The interface just… isn't implemented on Linux at all. πŸ™ˆ vibe check accordingly.


πŸ‘‘ NAME πŸ‘‘

posix_spawnattr_setsigdefault β€” set the spawn-sigdefault attribute of a spawn attributes object (ADVANCED REALTIME)


🌸 SYNOPSIS 🌸

#include <signal.h>
#include <spawn.h>

int posix_spawnattr_setsigdefault(posix_spawnattr_t *restrict attr,
    const sigset_t *restrict sigdefault);

πŸ¦‹ DESCRIPTION πŸ¦‹

not me about to explain this whole thing when it's literally one line, but ok: refer to posix_spawnattr_getsigdefault(). that's it, that's the description. go read the getter, it's giving the full story. πŸ’…


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. 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. 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, bestie 🫢 courtesy of IEEE/The Open Group, dated 2017, filed under POSIX_SPA...SIGDEFAULT(3P) β€” slay, go set that sigdefault, mwah πŸ’–βœ¨

πŸ“¦ where this page comes from