iso646.h(7POSIX)

πŸ’– iso646.h β€” the POSIX Programmer's Manual, bestie edition πŸ’–

okay so this is iso646.h(7POSIX) from the POSIX Programmer's Manual, and I'm about to make it make sense. periodt.


🌸 PROLOG 🌸

Real talk first, no cap: this manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ β€” so if you're on Linux, go consult the corresponding Linux manual page for the actual deets on Linux behavior. Or, like, the interface might not even be implemented on Linux at all. πŸ™ˆ So check before you commit, bestie.


✨ NAME ✨

iso646.h β€” alternative spellings. that's it, that's the whole vibe. πŸ¦‹


πŸŽ€ SYNOPSIS πŸŽ€

#include <iso646.h>

one include, zero drama. πŸ’…


πŸ‘‘ DESCRIPTION πŸ‘‘

okay so here's the tea: the functionality described on this reference page is aligned with the ISO C standard. Any conflict between the requirements described here and the ISO C standard is unintentional. This volume of POSIX.1‐2017 defers to the ISO C standard β€” the ISO C standard is the main character here, we're just supporting cast. 🫢

The <iso646.h> header shall define the following eleven macros (on the left) that expand to the corresponding tokens (on the right):

and       &&
and_eq    &=
bitand    &
bitor     |
compl     ~
not       !
not_eq    !=
or        ||
or_eq     |=
xor       ^
xor_eq    ^=

eleven of them. count them. eleven. and yes, and is literally && and or is literally || and if that doesn't feel like cheating idk what does. ✨

The following sections are informative.


🌈 APPLICATION USAGE 🌈

None. not a single thing. it's giving minimalism. πŸ’€


πŸ¦‹ RATIONALE πŸ¦‹

None. we simply do not have a rationale today. πŸŽ€


⭐ FUTURE DIRECTIONS ⭐

None. the future is bright and also empty. 😭


πŸ”₯ SEE ALSO πŸ”₯

None. no friends, no links, just vibes. πŸ™ˆ


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 .

important: if there's ever a fight between this page and the original Standard β€” the original Standard wins. always. no exceptions. 🫑

and that's the whole page, bestie!! this absolute icon came to you from IEEE/The Open Group, 2017, and it lives at iso646.h(7POSIX). slay, stay hydrated, and go use and instead of && just to confuse people. πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…πŸ«Ά