2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
5 Internal arossstdc function to get current GMT offset
7 #include <proto/exec.h>
8 #include <proto/locale.h>
9 #include <exec/execbase.h>
11 #include "__optionallibs.h"
13 /*****************************************************************************
18 int __stdc_gmtoffset (
28 The offset to GMT in minutes
31 Will return 0 when locale.library is not loaded into memory yet.
40 Will always query the current locale through locale.library to
43 ******************************************************************************/
48 if (__locale_available() && (loc
= OpenLocale(NULL
)))
50 gmtoffset
= (int)loc
->loc_GMTOffset
;