]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
posix: Add ptsname(3)
authorDr. Michael Lauer <mickey@vanille-media.de>
Wed, 7 Mar 2018 09:52:48 +0000 (10:52 +0100)
committerDr. Michael Lauer <mickey@vanille-media.de>
Wed, 7 Mar 2018 09:52:48 +0000 (10:52 +0100)
vapi/posix.vapi

index 33a8a5dc9611050f15f5e15a3d9da2391b30158f..9e81da794cc43e02cc8774e34d8c104b8f9eec5c 100644 (file)
@@ -1330,6 +1330,8 @@ namespace Posix {
        public int grantpt (int fd);
        [CCode (cheader_filename = "stdlib.h")]
        public int unlockpt (int fd);
+       [CCode (cheader_filename = "stdlib.h")]
+       public unowned string? ptsname (int fd);
 
        [CCode (cheader_filename = "stdlib.h")]
        public int system (string command);