]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
posix.vapi: add nice(2)
authorMichael 'Mickey' Lauer <mickey@vanille-media.de>
Sat, 24 Oct 2009 12:17:22 +0000 (14:17 +0200)
committerJürg Billeter <j@bitron.ch>
Sat, 31 Oct 2009 13:12:53 +0000 (14:12 +0100)
Signed-off-by: Michael 'Mickey' Lauer <mickey@vanille-media.de>
vapi/posix.vapi

index 61822e5a832385654d251d8f4e3d063a6123c39d..c36a152e5020f20974c8d68d7b67e6bd6f89ad96 100644 (file)
@@ -1597,6 +1597,8 @@ namespace Posix {
        public int ftruncate(int fd, off_t length);
        [CCode (cheader_filename = "unistd.h")]
        public int truncate(string path, off_t length);
+       [CCode (cheader_filename = "unistd.h")]
+       public int nice (int inc);
 
        [SimpleType]
        [CCode (cname = "cc_t", cheader_filename = "termios.h")]