[vala] posix: add tzset(3) and assorted constants
- From: Michael Lauer <mlauer src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] posix: add tzset(3) and assorted constants
- Date: Sat, 24 Dec 2011 11:16:26 +0000 (UTC)
commit c5071dd53a5989653a9873209d880d3d5453f691
Author: Michael 'Mickey' Lauer <mickey vanille-media de>
Date: Sat Dec 24 12:16:04 2011 +0100
posix: add tzset(3) and assorted constants
vapi/posix.vapi | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/vapi/posix.vapi b/vapi/posix.vapi
index dc18512..31341b2 100644
--- a/vapi/posix.vapi
+++ b/vapi/posix.vapi
@@ -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")]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]