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 π
π COPYRIGHT π
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 π«Ά
π¦ where this page comes from
- debian bookworm: manpages-posix-dev 2017a-2 Β· Other
- debian trixie: manpages-posix-dev 2017a-2 Β· Other
- ubuntu jammy: manpages-posix-dev 2017a-2 Β· Other
- ubuntu noble: manpages-posix-dev 2017a-2 Β· Other
- ubuntu resolute: manpages-posix-dev 2017a-2build1 Β· Other
- ubuntu stonking: manpages-posix-dev 2017a-2.1 Β· Other
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms