SIGFILLSET(3POSIX)

๐Ÿ’– sigfillset โ€” the POSIX Programmer's Manual, bestie edition ๐Ÿ’–

okay so real quick before we even start: this page is part of the POSIX Programmer's Manual, and it's filed under SIGFILLSET(3POSIX). ๐ŸŽ€


๐ŸŒธ PROLOG ๐ŸŒธ

okay so this manual page is part of the POSIX Programmer's Manual, periodt. the Linux implementation of this interface may differ โ€” so if you're on Linux, go consult the corresponding Linux manual page for details on Linux behavior ๐Ÿ’…. orrr the interface might not even be implemented on Linux at all. lowkey tragic, but we move. ๐Ÿฆ‹


โœจ NAME โœจ

sigfillset โ€” initialize and fill a signal set ๐ŸŒˆ


๐Ÿ‘‘ SYNOPSIS ๐Ÿ‘‘

#include <signal.h>

int sigfillset(sigset_t *set);

๐Ÿ’ซ DESCRIPTION ๐Ÿ’ซ

so the sigfillset() function shall initialize the signal set pointed to by set, such that all signals defined in this volume of POSIX.1โ€2017 are included. literally all of them. the whole roster. the full squad. no one left out, no cap. ๐Ÿซถ


๐Ÿ”ฅ RETURN VALUE ๐Ÿ”ฅ

upon successful completion, sigfillset() shall return 0. slay. ๐Ÿ’–

otherwise, it shall return -1 and set errno to indicate the error. ๐Ÿ˜ญ


๐Ÿ’€ ERRORS ๐Ÿ’€

no errors are defined. not a single one. iconic behavior honestly. โœจ

the following sections are informative. (yes, that's a real thing the standard says, i'm not making it up ๐Ÿงš)


๐Ÿ“ EXAMPLES ๐Ÿ“

none. bestie, there is literally nothing here. ๐Ÿ™ˆ


๐ŸŽ€ APPLICATION USAGE ๐ŸŽ€

none. again. i know. ๐Ÿ’œ


๐Ÿง  RATIONALE ๐Ÿง 

refer to sigemptyset(). that's it. that's the whole rationale. go read that one, iykyk. โญ


๐Ÿ”ฎ FUTURE DIRECTIONS ๐Ÿ”ฎ

none. the future is a mystery, but it's not this. ๐Ÿ’…


๐ŸŒˆ SEE ALSO ๐ŸŒˆ

  • Section 2.4, Signal Concepts
  • pthread_sigmask()
  • sigaction()
  • sigaddset()
  • sigdelset()
  • sigemptyset()
  • sigismember()
  • sigpending()
  • sigsuspend()
  • the Base Definitions volume of POSIX.1โ€2017, <signal.h>

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 vibe check, bestie โ€” this page came to you courtesy of IEEE/The Open Group, 2017, filed under SIGFILLSET(3POSIX). drink some water, go fill a signal set, and remember: all signals included means ALL signals included. mwah. ๐Ÿ’‹๐Ÿ’–โœจ

๐Ÿ“ฆ where this page comes from