PUTUTXLINE(3P)

🌸 PUTUTXLINE(3P) β€” ok bestie, let's talk POSIX πŸ’…

hey so this one is from the POSIX Programmer's Manual, manual section 3P β€” that's the "P" for POSIX, iykyk. and ngl it's a short one. like, blink-and-you-miss-it short. but we're gonna make it cute anyway πŸŽ€


✨ PROLOG ✨

okay so first things first, a lil vibe check πŸ“‹

this manual page is part of the POSIX Programmer's Manual. that's the whole point of it, that's its main character energy πŸ‘‘

⚠️ but bestie, listen β€” the Linux implementation of this interface may differ. so if you're on Linux, go consult the corresponding Linux manual page for the details of Linux behavior, fr fr. or honestly? the interface may not be implemented on Linux at all. 😭 so don't come at me if it's not there.

πŸ¦‹ NAME πŸ¦‹

pututxline β€” put an entry into the user accounting database ✨

that's it. that's the name. short, sweet, iconic. she does exactly what her name says 🫢


🌈 SYNOPSIS 🌈

ok here's the shape of her, copy it exactly bestie:

#include <utmpx.h>

struct utmpx *pututxline(const struct utmpx *utmpx);

yes the header is <utmpx.h>, yes the function takes a const struct utmpx * and hands you back a struct utmpx *. don't @ me, that's just the signature πŸ’œ


πŸ’– DESCRIPTION πŸ’–

so like. the description here is literally just:

Refer to endutxent().

that's the whole thing. no cap. the actual tea lives over in the endutxent() page, so go read that one, bestie β€” she's holding all the lore πŸ“–βœ¨


okay legal moment, everybody hold hands 🀝

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 πŸ’… go forth and log your users, you absolute icon ⭐

mwah πŸ’– β€” this was IEEE/The Open Group, 2017, signing off πŸŽ€

πŸ“¦ where this page comes from