POSIX_TRA...ENTID_OPEN(3P)

🌸 PROLOG 🌸

okay bestie, before we even start β€” heads up that this manual page is part of the POSIX Programmer's Manual. and here's the tea: the Linux implementation of this interface may differ (so like, go consult the corresponding Linux manual page for the deets on Linux behavior, fr), or honestly the interface might not even be implemented on Linux at all. πŸ’€ not me finding that out the hard way.


✨ NAME ✨

posix_trace_trid_eventid_open β€” open a trace event type identifier (TRACING)

like, it opens a trace event type identifier. that's the whole vibe. πŸ¦‹


πŸ’… SYNOPSIS πŸ’…

#include <trace.h>

int posix_trace_trid_eventid_open(trace_id_t trid,
    const char *restrict event_name,
    trace_event_id_t *restrict event);

she's giving four lines, two restrict keywords, one int return. iconic. no notes. ✨


πŸŽ€ DESCRIPTION πŸŽ€

bestie, refer to posix_trace_eventid_equal().

that's it. that's the whole description. the standard said "go read the other page" and honestly? respect. 😭

okay so legal o'clock, but make it cute:

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 .

and also:

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 .

so if you spot a typo, it's not the standard's fault, it's the conversion's fault. snitch to the kernel folks at that link. 🫢

and that's the whole page, bestie!! this little number came to you from IEEE/The Open Group, 2017, living under the manual name POSIX_TRA...ENTID_OPEN(3P) πŸ’– slay, stay traced, and don't forget to go read posix_trace_eventid_equal() since this page is literally just a hand-off to her. periodt. πŸ‘‘πŸŒΈ

πŸ“¦ where this page comes from