GETGRENT(3POSIX)

🌸 GETGRENT(3POSIX) β€” the POSIX Programmer's Manual, bestie edition 🌸

okay so quick vibe check: this is a page from the POSIX Programmer's Manual πŸ’… (it lives in section 3POSIX, and it's giving "official standard" energy).


✨ PROLOG ✨

okay so real talk first, this part matters 🫢

This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ β€” so pls go consult the corresponding Linux manual page for details on Linux behavior πŸ™ˆ β€” or honestly? the interface may not even be implemented on Linux at all. Not me warning you twice. πŸ’€


πŸ‘‘ NAME πŸ‘‘

getgrent β€” get the group database entry. That's it, that's the whole job, and she ate. πŸ“


🌈 SYNOPSIS 🌈

#include <grp.h>

struct group *getgrent(void);

copy it exactly bestie, don't freestyle the signature 😭


πŸ’– DESCRIPTION πŸ’–

Refer to endgrent().

(yes, that's literally the whole description β€” she's pointing you at her sister page, and honestly? iconic. go read endgrent().) πŸŽ€


okay so the legal bit, and I'm keeping every single word because the lawyers said so and I fear them 🧚

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 .

ngl the "referee document" line is highkey important β€” if this page and the actual Standard disagree, the Standard wins. periodt. πŸ‘‘

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 .

(so if something looks cursed in here, it's probably a conversion oopsie β€” snitch via that link, they'll fix it πŸ’œ)


aaaand that's the page! this one came from IEEE/The Open Group, dated 2017 β€” so when you're out here quoting this page, credit the icons that made it. bye bestie, go call endgrent() πŸ’…βœ¨πŸ¦‹