]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
posix: Add ffs binding
authorJürg Billeter <j@bitron.ch>
Sat, 7 Apr 2012 19:51:45 +0000 (22:51 +0300)
committerJürg Billeter <j@bitron.ch>
Sat, 7 Apr 2012 19:52:26 +0000 (22:52 +0300)
vapi/posix.vapi

index 3603a0cc754e98d4b3fa5308a04707ddcd066d89..9e5d39c7a918b0aa22e25fe8d95e9c710209b660 100644 (file)
@@ -1232,6 +1232,9 @@ namespace Posix {
        [CCode (cheader_filename = "string.h")]
        public size_t strxfrm (string s1, string s2, size_t n);
 
+       [CCode (cheader_filename = "strings.h")]
+       public int ffs (int i);
+
        [CCode (cheader_filename = "stropts.h")]
        public const int I_PUSH;
        [CCode (cheader_filename = "stropts.h")]