SIGRELSE(3POSIX)

πŸŽ€ PROLOG πŸŽ€

okay so bestie, real talk first πŸ’– this manual page is part of the POSIX Programmer's Manual. but here's the tea: the Linux implementation of this interface may be different β€” so if you're on Linux, go consult the corresponding Linux manual page for the deets on Linux behavior 🫢. and honestly? it's also possible this interface just straight up isn't implemented on Linux at all. vibe check: always check before you commit, iykyk πŸ’…


✨ NAME ✨

sigrelse, sigset β€” signal management πŸ‘‘


🌸 SYNOPSIS 🌸

#include <signal.h>

int sigrelse(int sig);
void (*sigset(int sig, void (*disp)(int)))(int);

like. look at that second one. that's a function returning a function pointer. main character energy fr fr πŸ˜­πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so, plot twist: go read sighold(). that's it, that's the whole description πŸ’€ refer to sighold(), bestie. the lore lives over there πŸ“


ngl this part is legally required and it's giving very serious, so here it is in full, no cap:

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 .


a lil heads up: if this version and the original IEEE and The Open Group Standard ever disagree, the original Standard wins. it's the referee. periodt πŸ’―

and that's the whole page, bestie 🫢 this lil number came from IEEE/The Open Group, 2017, and it lives at SIGRELSE(3POSIX) β€” go forth and manage those signals, you absolute icon πŸ’–βœ¨πŸ‘‘