[vala/0.36: 153/212] posix: add ctime(3)
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.36: 153/212] posix: add ctime(3)
- Date: Sat, 14 Apr 2018 07:56:13 +0000 (UTC)
commit d8a8fe5599d84e40b0a235d485b965922e2f197f
Author: Dr. Michael Lauer <mickey vanille-media de>
Date: Tue Jan 16 17:06:31 2018 +0100
posix: add ctime(3)
vapi/posix.vapi | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/vapi/posix.vapi b/vapi/posix.vapi
index 5afddbf..50b0045 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]