LSTAT(3POSIX)

πŸ’… LSTAT(3POSIX) β€” the POSIX Programmer's Manual, bestie edition ✨

okay so real talk before we even start: this page lives in the POSIX Programmer's Manual. That means the Linux implementation of this interface might be different from what's written here (so like, go check the matching Linux manual page for the actual Linux behavior, mkay?), or honestly it might not even be implemented on Linux at all. πŸ™ˆ


✨ NAME ✨

lstat β€” get file status πŸ•΅οΈβ™€οΈ


🌸 SYNOPSIS 🌸

#include <sys/stat.h>

int lstat(const char *restrict path, struct stat *restrict buf);

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so for the full tea on this one, go read fstatat(). that's it. that's the whole description. this page is giving "see also, my friend handles the details" energy and honestly? respect. πŸ‘‘


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. πŸ‘‘ (like, the original is the one who decides, periodt.)

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 diva was brought to you by IEEE/The Open Group, dated 2017, under the manual name LSTAT(3POSIX). mwah πŸ’– no cap, you're officially educated on lstat now. slay 🫢✨