[vala/staging] linux: Add constants from program_invocation_name(3)



commit d6f6ebf7f44e2a0b97e9f737508f7c6612329f79
Author: Dr. Michael Lauer <mickey vanille-media de>
Date:   Sun Mar 11 12:51:45 2018 +0100

    linux: Add constants from program_invocation_name(3)

 vapi/linux.vapi |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/vapi/linux.vapi b/vapi/linux.vapi
index f3a7a56..64b2554 100644
--- a/vapi/linux.vapi
+++ b/vapi/linux.vapi
@@ -1038,6 +1038,11 @@ namespace Linux {
         DT_WHT
     }
 
+    [CCode (cheader_filename = "errno.h", feature_test_macro = "_GNU_SOURCE")]
+    public const string program_invocation_name;
+    [CCode (cheader_filename = "errno.h", feature_test_macro = "_GNU_SOURCE")]
+    public const string program_invocation_short_name;
+
     [Version (deprecated_since = "vala-0.26", replacement = "Backtrace.get"), CCode (cheader_filename = 
"execinfo.h")]
     public int backtrace (void* buffer, int size);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]