PTHREAD_A...TSTACKSIZE(3P)

πŸ’… PTHREAD_A...TSTACKSIZE(3P) β€” POSIX Programmer's Manual ✨

okay bestie, welcome to the POSIX Programmer's Manual πŸŽ€. Quick heads up before we even start: this page is part of that manual, and the Linux implementation of this interface may differ from what's written here β€” so if you're on Linux, pls go consult the corresponding Linux manual page for the details of Linux behavior 🫢. Also possible: the interface just straight up isn't implemented on Linux. vibe check failed, sorry babe πŸ’€.


🌸 NAME 🌸

pthread_attr_setstacksize β€” set the stacksize attribute ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <pthread.h>

int pthread_attr_setstacksize(pthread_attr_t *attr, size_t stacksize);

πŸ’– DESCRIPTION πŸ’–

okay so the actual tea here? Refer to pthread_attr_getstacksize(). that's it, that's the whole description, go read that one, it's giving "the real ones know" 😌✨


ngl this part is the legal girlies' moment, but it matters so 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 .

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!! 🫢 this icon of a manual page comes to you from IEEE/The Open Group, dated 2017 β€” yes, 2017, she's vintage and she's still serving πŸ’…β­

πŸ“¦ where this page comes from