POSIX_SPA...HEDPOLICY(3P)

✨ POSIX_SPA...HEDPOLICY πŸ’…

okay bestie, welcome to posix_spawnattr_setschedpolicy(3P) β€” yes that's the whole name, it's giving ✨*abbreviated title energy*✨ because the real one is too long for the header. This is part of the POSIX Programmer's Manual, and like… it's a whole series, we're just visiting one page. πŸ¦‹


🌸 PROLOG 🌸

so first things first, real talk: this manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ β€” like, consult the corresponding Linux manual page for the deets on Linux behavior β€” or honestly, the interface may not be implemented on Linux at all. πŸ’€ no cap. vibe check your platform first.


πŸ‘‘ NAME πŸ‘‘

posix_spawnattr_setschedpolicy β€” set the spawn-schedpolicy attribute of a spawn attributes object. and yes it's tagged (ADVANCED REALTIME) like the exclusive VIP section of POSIX. πŸ”₯


πŸŽ€ SYNOPSIS πŸŽ€

#include <sched.h>
#include <spawn.h>

int posix_spawnattr_setschedpolicy(posix_spawnattr_t *attr,
    int schedpolicy);

πŸ’– DESCRIPTION πŸ’–

okay so here's the thing β€” refer to posix_spawnattr_getschedpolicy(). that's it. that's the description. the lore lives on the other page, 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 β€” yes, the original is the main character, this is just the understudy. πŸ’… 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 ending on the copyright section 😭 but fr fr, that's the whole page β€” every word accounted for, nothing skipped, periodt. 🫢

and that's the sign-off bestie: this page is brought to you by IEEE / The Open Group, 2017 ⭐ β€” the whole thing lives under POSIX_SPA...HEDPOLICY(3P) and we love her for the abbreviation. go forth and set those sched policies, you icon. πŸ§šπŸ’œ

πŸ“¦ where this page comes from