From e36d8a1d74a00e56990728508635296440ddce1c Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Fri, 20 Dec 2013 11:52:10 -0500 Subject: add sys/quota.h and quotactl syscall wrapper MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit based on patch by Timo Teräs. --- src/linux/quotactl.c | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/linux/quotactl.c (limited to 'src') diff --git a/src/linux/quotactl.c b/src/linux/quotactl.c new file mode 100644 index 00000000..344eb0d1 --- /dev/null +++ b/src/linux/quotactl.c @@ -0,0 +1,7 @@ +#include +#include "syscall.h" + +int quotactl(int cmd, const char *special, int id, char *addr) +{ + return syscall(SYS_quotactl, cmd, special, id, addr); +} -- cgit v1.2.1