POSIX_T...LPOLICY(3POSIX)

🌸 POSIX_T...LPOLICY(3POSIX) β€” ok bestie, listen up 🌸

So this is a page from the POSIX Programmer's Manual, section 3POSIX, and the title got absolutely butchered into POSIX_T...LPOLICY(3POSIX) (the middle said "haha no"). Anyway. Important thing first, no cap:

⚠️ Heads up, bestie: the Linux implementation of this interface may differ from what's written here β€” so if you're on Linux, go read the matching Linux manual page for the actual tea. Or, plot twist, the interface might not even be implemented on Linux at all. It's giving "maybe". 😭

✨ PROLOG ✨

This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ β€” consult the corresponding Linux manual page for details of Linux behavior β€” or the interface may not be implemented on Linux. Like. Both options are on the table. 🫢


πŸ’– NAME πŸ’–

posix_trace_attr_setstreamfullpolicy β€” retrieve and set the behavior of a trace stream (TRACING)

She does both?? Retrieve and set?? Multi-talented. Main character energy fr. πŸ‘‘


πŸŽ€ SYNOPSIS πŸŽ€

#include <trace.h>

int posix_trace_attr_setstreamfullpolicy(trace_attr_t *attr,
    int streampolicy);

Note the exact signature, don't go freestyling it: it takes a trace_attr_t *attr and an int streampolicy, and it hands you back an int. Periodt. πŸ’…


🌈 DESCRIPTION 🌈

Okay so for the actual explanation, go look at posix_trace_attr_getinherited(). That's the one carrying the lore. This page is just the pointer, iykyk. πŸ¦‹


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 .


πŸ’€ Not me being the referee document's understudy. If anything looks off, the original IEEE and The Open Group Standard wins, every single time. That's the rule, babe.

IEEE/The Open Group Β· 2017 β€” mwah, that's the source and the date, signin' off, stay tracing bestie πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’