MQ_TIMEDSEND(3P)

πŸ’Œ MQ_TIMEDSEND(3P) β€” POSIX Programmer's Manual, bestie edition

okay so this is a page from the POSIX Programmer's Manual, and we're doing mq_timedsend(3P) today πŸ’… the header says MQ_TIMEDSEND(3P) and honestly? iconic.


🌸 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 bestie, go consult the corresponding Linux manual page for the details of how Linux actually behaves, okay? πŸ™ˆ Or… the interface may not be implemented on Linux at all. Either way, vibe check your platform first. πŸ’€


✨ NAME ✨

mq_timedsend β€” send a message to a message queue (ADVANCED REALTIME) 🫢

like. it sends a message. to a queue. with a time twist. advanced realtime energy fr fr.


πŸŽ€ SYNOPSIS πŸŽ€

#include <mqueue.h>
#include <time.h>

int mq_timedsend(mqd_t mqdes, const char *msg_ptr, size_t msg_len,
    unsigned msg_prio, const struct timespec *abstime);

look at her. five args, one int return, absolutely serving. 🌈


πŸ¦‹ DESCRIPTION πŸ¦‹

Refer to mq_send().

that's it. that's the whole description. the page is lowkey telling you to go read mq_send() because this one is just mq_send() but with a deadline πŸ’– go. read it. iykyk.


gotta give credit where credit is due, bestie, this is the legal part and we're keeping every word:

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 .

✨ so like, if this page and the real standard ever disagree β€” the standard wins. it's the main character. this page is the group chat. periodt.

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 .

🫢 found a typo? not me being messy on purpose β€” report it at that link and we'll fix it together.

and that's the whole page, babe πŸŽ€πŸ’œ this came to you from IEEE/The Open Group, 2017, for MQ_TIMEDSEND(3P) β€” slay, stay realtime, and go read mq_send() like i told you 😭✨

πŸ“¦ where this page comes from