From: Dr. Michael Lauer Date: Wed, 7 Mar 2018 09:52:48 +0000 (+0100) Subject: posix: Add ptsname(3) X-Git-Tag: 0.40.0~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=efd3972be8f1504d967bc9780fb21c12814885c3;p=thirdparty%2Fvala.git posix: Add ptsname(3) --- diff --git a/vapi/posix.vapi b/vapi/posix.vapi index 33a8a5dc9..9e81da794 100644 --- a/vapi/posix.vapi +++ b/vapi/posix.vapi @@ -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);