Operating systems, development tools, and professional services
for connected embedded systems

QNX Developer Support

[Previous] [Contents] [Index] [Next]

daylight

Indicator of support for daylight saving time in the locale

Synopsis:

#include <time.h>

unsigned int daylight;

Description:

This global variable has a value of 1 when daylight saving time is supported in this locale, and 0 otherwise. Whenever you call a time function, tzset() is called to set the variable, based on the current time zone.

Classification:

POSIX 1003.1 XSI

See also:

timezone, tzname, tzset()

"Setting the time zone" in the Configuring Your Environment chapter of the Neutrino User's Guide


[Previous] [Contents] [Index] [Next]