]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
linux: Add constants from program_invocation_name(3)
authorDr. Michael Lauer <mickey@vanille-media.de>
Sun, 11 Mar 2018 11:51:45 +0000 (12:51 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 12 Mar 2018 06:58:17 +0000 (07:58 +0100)
vapi/linux.vapi

index f3a7a56d18c488e6f1d4e09d06a7de91fe94c108..64b255445e3e7e74ab12031ef80d5352b35a3985 100644 (file)
@@ -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);