]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
posix: Add execlp method
authorLionel Landwerlin <llandwerlin@gmail.com>
Sat, 17 Jul 2010 21:53:31 +0000 (14:53 -0700)
committerEvan Nemerson <evan@coeus-group.com>
Sat, 17 Jul 2010 21:54:30 +0000 (14:54 -0700)
Fixes bug 623600.

vapi/posix.vapi

index cae1d3f615193cc13ab2a5722f2f160b33d88ad5..b0d1f98a16b829f967cfecd513f2bdecc093ff2f 100644 (file)
@@ -1515,6 +1515,8 @@ namespace Posix {
        [CCode (cheader_filename = "unistd.h")]
        public int execl (string path, params string[] arg);
        [CCode (cheader_filename = "unistd.h")]
+       public int execlp (string path, params string[] arg);
+       [CCode (cheader_filename = "unistd.h")]
        public int pipe ([CCode (array_length = false, null_terminated = false)] int[] pipefd);
        [CCode (cheader_filename = "unistd.h")]
        public ssize_t read (int fd, void* buf, size_t count);