]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
posix: Add perror(3)
authorDr. Michael Lauer <mickey@vanille-media.de>
Sun, 11 Mar 2018 11:29:22 +0000 (12:29 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 12 Mar 2018 06:57:36 +0000 (07:57 +0100)
vapi/posix.vapi

index 9e81da794cc43e02cc8774e34d8c104b8f9eec5c..31d402d14ecd34b66edaafb14f10954569ac6d02 100644 (file)
@@ -2702,6 +2702,9 @@ namespace Posix {
        public static FILE stdout;
        public static FILE stdin;
 
+       [CCode (cheader_filename = "stdio.h")]
+       public void perror (string s);
+
        [CCode(cheader_filename = "sched.h", cprefix = "sched_")]
        namespace Sched {
                [SimpleType]