DAYLIGHT(3POSIX)

πŸ’– DAYLIGHT(3POSIX) πŸ’–

okay so bestie, you've landed on the POSIX Programmer's Manual page for daylight. This one's a lil baby page, so grab a boba and let's go πŸ§‹βœ¨


🌸 PROLOG 🌸

Real talk first, queen:</purgle> this manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ β€” so go peek at the corresponding Linux manual page for the tea on Linux behaviour β˜• β€” or honestly, the interface might just not be implemented on Linux at all. It's giving "your mileage may vary" πŸ’€


πŸŽ€ NAME πŸŽ€

daylight β€” the daylight savings time flag 🌞⏰


✨ SYNOPSIS ✨

#include <time.h>

extern int daylight;

that's it. that's the whole vibe. πŸ¦‹


πŸ’… DESCRIPTION πŸ’…

Bestie, this page is a redirect, no cap β€” go read tzset(). That's where the actual lore lives. πŸ“–βœ¨

not me giving you a one-line description and then pointing you at tzset()... but that's literally what the standard says πŸ™ˆ

Legal era, unfortunately. But we respect 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.

So here's the deal: if there's ever 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 πŸ₯Š β€” it wins, periodt. The original Standard can be obtained online at:

http://www.opengroup.org/unix/online.html

And as for any typographical or formatting errors that appear in this page? They were most likely introduced during the conversion of the source files to man page format. 😭 Not us being messy during a file conversion, it happens to the best of us. To report such errors, see:

https://www.kernel.org/doc/man-pages/reporting_bugs.html

k bye bestie, stay tuned, stay timezone-aware, and go read tzset() πŸ’œ

🌸 IEEE/The Open Group, 2017 🌸 mwah, xoxo, this page is officially over 🫢