SETRLIMIT(3P)

πŸ’– SETRLIMIT(3P) πŸ’–

okay bestie, welcome to the POSIX Programmer's Manual page for setrlimit πŸŽ€ (yes that's the manual name, and yes it's giving "official business"). buckle up, this one is short but she is iconic.


✨ PROLOG ✨

so real talk first: this manual page is part of the POSIX Programmer's Manual. the Linux implementation of this interface may differ, so if you're on Linux you gotta go consult the corresponding Linux manual page for the details of how Linux actually does it. and lowkey? the interface might not even be implemented on Linux at all. vibe check accordingly 🫢


🌸 NAME 🌸

setrlimit β€” control maximum resource consumption πŸ’…


✨ SYNOPSIS ✨

#include <sys/resource.h>

int setrlimit(int resource, const struct rlimit *rlp);

πŸ¦‹ DESCRIPTION πŸ¦‹

bestie, this is a "go read the other one" situation, no cap. refer to getrlimit().


okay this is the part where the lawyers speak, and we must respect them, periodt.

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 .


fr fr if you spot a typo, that's a conversion glow-up gone wrong, not the actual Standard misbehaving πŸ’€ report it at the link above, bestie.

and that's the whole page, she's short but she ate πŸ“ thanks for reading, mwah πŸ’–

β€” IEEE/The Open Group, 2017, signing off, SETRLIMIT(3P) main character energy only πŸ‘‘βœ¨πŸŒˆ

πŸ“¦ where this page comes from