OPENDIR(3POSIX)

✨ PROLOG ✨

okay so bestie, heads up before we even start πŸ’– this page is part of the POSIX Programmer's Manual, which is its whole vibe. but real talk β€” the Linux implementation of this interface may be different, so go check the corresponding Linux manual page for the Linux deets. or, plot twist, the interface might not even be implemented on Linux at all. πŸ™ˆ so don't come for me if it's giving nothing on your machine.


🫢 NAME 🫢

opendir β€” open directory associated with file descriptor

(no literally, that's what it does, that's the whole thing, it's iconic)


🌸 SYNOPSIS 🌸

#include <dirent.h>

DIR *opendir(const char *dirname);

πŸŽ€ DESCRIPTION πŸŽ€

so... this one's a little shy. it just says: refer to fdopendir(). that's it. that's the whole description. go read fdopendir(), bestie, the tea is over there. πŸ«–βœ¨


okay legal girlies, gather round, this part is not a vibe but we have to do it. 😭

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 .


ngl if you spot a typo, it's probably from the man-page glow-up, not from IEEE. report it at the link above and we move. πŸ’–

🌈 SEE ALSO-ISH ENERGY 🌈

not a real section but like... fdopendir()?? go read her. she's the main character here. πŸ‘‘


okay that's the whole page, no cap. this little icon was brought to you by IEEE/The Open Group, dated 2017, living under the OPENDIR(3POSIX) name in the POSIX Programmer's Manual β€” and yes the section numbering is right there in the title, slay. πŸ’…βœ¨ bye bestie, go open some directories πŸ¦‹πŸ“