diff options
author | Dr. Michael Lauer <mickey@vanille-media.de> | 2018-01-16 17:06:31 +0100 |
---|---|---|
committer | Dr. Michael Lauer <mickey@vanille-media.de> | 2018-01-20 14:54:18 +0100 |
commit | 2ae0ebc8aa27ea4bf0a264432e7a64c8f9fe258b (patch) | |
tree | 4cf59925ca08061135643aac57904f01b5e03946 | |
parent | 43df5fb299919d5db7ae590683c5a58c3105f37d (diff) | |
download | vala-2ae0ebc8aa27ea4bf0a264432e7a64c8f9fe258b.tar.gz |
posix: add ctime(3)
-rw-r--r-- | vapi/posix.vapi | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vapi/posix.vapi b/vapi/posix.vapi index 93e043c8e..b9ef0b062 100644 --- a/vapi/posix.vapi +++ b/vapi/posix.vapi @@ -1954,6 +1954,9 @@ namespace Posix { public clock_t (); } + [CCode (cheader_filename = "time.h")] + public unowned string? ctime (ref time_t clock); + [CCode (cname = "struct tm", cheader_filename = "time.h", has_type_id = false)] public struct tm { public int tm_sec; |