summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2012-04-07 22:51:45 +0300
committerJürg Billeter <j@bitron.ch>2012-06-23 17:01:06 +0200
commitb76728065ec959f2c5d0d131958a3b8c8bd0f95e (patch)
tree47455cc0453b72fbbc5e81019561328c0aedcb75
parentf6f9438d0f4049268ef602daf840f0a4ff858727 (diff)
downloadvala-b76728065ec959f2c5d0d131958a3b8c8bd0f95e.tar.gz
posix: Add ffs binding
-rw-r--r--vapi/posix.vapi3
1 files changed, 3 insertions, 0 deletions
diff --git a/vapi/posix.vapi b/vapi/posix.vapi
index 3603a0cc7..9e5d39c7a 100644
--- a/vapi/posix.vapi
+++ b/vapi/posix.vapi
@@ -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")]