Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
TIMEZONE.cpp
Go to the documentation of this file.
1// checking for int timezone in <time.h>
2
3
25#include <time.h>
26
28{
29 // POSIX requires a timezone variable:
30 // http://www.opengroup.org/onlinepubs/009695399/functions/timezone.html
31
32 // BSD-based systems such as Darwin define a char* timezone(int, int)
33 // function that has nothing to do with the variable:
34 // http://developer.apple.com/documentation/Darwin/Reference/ManPages/ \
35 // man3/timezone.3.html
36
37 // check to see if a timezone variable exists and is convertible to int
38 return timezone / 2;
39}
int get_timezone_value()
Definition TIMEZONE.cpp:27