POSIX_TRA...TREAMSIZE(3P)

🌸 POSIX_TRA...TREAMSIZE(3P) β€” the vibe check 🌸

okay bestie, welcome to the POSIX Programmer's Manual β€” that's the manual name, and this page is POSIX_TRA...TREAMSIZE(3P). Yes the title is literally truncated with dots, it's giving mysterious, it's giving "read the rest of the page to find out". We love a cliffhanger. πŸ’…


✨ PROLOG ✨

so before we even get into it: this manual page is part of the POSIX Programmer's Manual. That's the whole point of the PROLOG section, and here's what it's telling you, fr fr:

  • The Linux implementation of this interface may differ β€” like, go consult the corresponding Linux manual page for the details on Linux behavior, don't come crying to POSIX about it.
  • Or honestly? The interface may not be implemented on Linux at all. Not every icon makes it to every stage. 😭

πŸ’– NAME πŸ’–

posix_trace_attr_setstreamsize β€” retrieve and set trace stream size attributes

and yup, it's filed under (TRACING). iykyk. πŸ¦‹


πŸŽ€ SYNOPSIS πŸŽ€

the way you gotta include these headers first, no shortcuts:

#include <sys/types.h>
#include <trace.h>

int posix_trace_attr_setstreamsize(trace_attr_t *attr,
    size_t streamsize);

so it hands you back an int, takes a pointer to a trace_attr_t called attr, and a size_t called streamsize. periodt. ✨


🌈 DESCRIPTION 🌈

okay so here's the thing, the entire description is literally:

Refer to posix_trace_attr_getlogsize().

that's it. that's the whole description. iconic of it honestly. if you want the actual tea, go read the posix_trace_attr_getlogsize() page β€” it's the main character here and this function is just in its orbit. 🫢


the legal bit, and bestie we do not skip the legal bit:

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 .

πŸ’€ real talk: the IEEE and The Open Group Standard is the referee here. if this page and the Standard ever disagree, the Standard wins. no cap.

and that's the page, bestie!! πŸ’– brought to you by IEEE/The Open Group, dated 2017, which is also what the footer says in case you were wondering β€” and now you know. slay, go set some trace stream size attributes. 🧚✨

πŸ“¦ where this page comes from