From: Dr. Michael Lauer Date: Tue, 16 Jan 2018 16:06:31 +0000 (+0100) Subject: posix: add ctime(3) X-Git-Tag: 0.39.6~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ae0ebc8aa27ea4bf0a264432e7a64c8f9fe258b;p=thirdparty%2Fvala.git posix: add ctime(3) --- 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;