From: Dr. Michael Lauer Date: Tue, 16 Jan 2018 16:06:31 +0000 (+0100) Subject: posix: add ctime(3) X-Git-Tag: 0.34.14~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49658071a92c89e286dfd942f409042560719c30;p=thirdparty%2Fvala.git posix: add ctime(3) --- diff --git a/vapi/posix.vapi b/vapi/posix.vapi index 5afddbfe7..50b0045a3 100644 --- a/vapi/posix.vapi +++ b/vapi/posix.vapi @@ -1768,6 +1768,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;