GETPMSG(3POSIX)

πŸ¦‹ GETPMSG πŸ’…

okay so bestie, welcome to GETPMSG(3POSIX) β€” that's the POSIX Programmer's Manual, and this little cutie lives in section 3. yes, section 3 is the library-calls girlies. we're in our ✨POSIX✨ era.


🌸 PROLOG 🌸

so like, first things first, this manual page is part of the POSIX Programmer's Manual. that's the whole vibe.

⚠️ real talk though: the Linux implementation of this interface may differ β€” like, consult the corresponding Linux manual page for the deets on Linux behavior. orrr the interface might just not be implemented on Linux at all. so don't come for me if it's not there, check first, iykyk πŸ’€

πŸ‘‘ NAME πŸ‘‘

getpmsg β€” receive next message from a STREAMS file πŸ’Œ

that's it. that's the job. she gets the next message. periodt.


✨ SYNOPSIS ✨

#include <stropts.h>

int getpmsg(int fildes, struct strbuf *restrict ctlptr,
    struct strbuf *restrict dataptr, int *restrict bandp,
    int *restrict flagsp);

look at her. five arguments. two restrict pointers. very demure, very mindful. πŸŽ€


πŸ’– DESCRIPTION πŸ’–

okay so the description is literally just: Refer to getmsg().

that's it bestie. that's the whole description. she said "go read her sister's page, i'm not repeating myself." iconic behavior honestly. main character energy. go look up getmsg(), no cap 🫢


ngl the legal girlies had to get their moment too, so here it is, and yes, we're keeping every word because that's how it has to be:

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!! πŸ’…βœ¨

little sign-off for you: this one's brought to you by IEEE and The Open Group, dated 2017 β€” yeah she's a 2017 girlie and she's still serving. πŸŽ€πŸ¦‹ no cap.