[vala/0.16] posix: add statvfs and fstatvfs function bindings
- From: JÃrg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.16] posix: add statvfs and fstatvfs function bindings
- Date: Sat, 23 Jun 2012 15:51:54 +0000 (UTC)
commit 04cf8b91ee0160519515b0d88d51c5669c2bef38
Author: Evan Nemerson <evan coeus-group com>
Date: Tue May 22 12:51:53 2012 -0700
posix: add statvfs and fstatvfs function bindings
statvfs is called statvfs_exec since just using statvfs would conflict
with the existing statvfs type.
vapi/posix.vapi | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/vapi/posix.vapi b/vapi/posix.vapi
index 9329ace..43e0c88 100644
--- a/vapi/posix.vapi
+++ b/vapi/posix.vapi
@@ -1673,6 +1673,11 @@ namespace Posix {
public fsfilcnt_t f_favail;
}
+ [CCode (cheader_filename = "sys/statvfs.h", cname = "statvfs")]
+ public int statvfs_exec (string path, out statvfs buf);
+ [CCode (cheader_filename = "sys/statvfs.h")]
+ public int fstatvfs (int fs, out statvfs buf);
+
[SimpleType]
[IntegerType (rank = 9)]
[CCode (cname="off_t", cheader_filename = "sys/types.h")]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]