]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
posix: add tzset(3) and assorted constants
authorMichael 'Mickey' Lauer <mickey@vanille-media.de>
Sat, 24 Dec 2011 11:16:04 +0000 (12:16 +0100)
committerJürg Billeter <j@bitron.ch>
Tue, 31 Jan 2012 12:08:15 +0000 (13:08 +0100)
vapi/posix.vapi

index dc185126a46eec33a1009e7505a77179485b2074..31341b26f756242c03f9fc4adea80475fb511eb1 100644 (file)
@@ -1705,6 +1705,16 @@ namespace Posix {
                public long tv_nsec;
        }
 
+    [CCode (array_length = false, cheader_filename = "time.h")]
+       public string[] tzname;
+       [CCode (cheader_filename = "time.h")]
+       public const long timezone;
+       [CCode (cheader_filename = "time.h")]
+       public const int daylight;
+
+       [CCode (cheader_filename = "time.h")]
+       public void tzset ();
+
        [SimpleType]
        [IntegerType]
        [CCode (cheader_filename = "time.h")]