add sys/quota.h and quotactl syscall wrapper

based on patch by Timo Teräs.
This commit is contained in:
Rich Felker
2013-12-20 11:52:10 -05:00
parent c91ad4f716
commit e36d8a1d74
2 changed files with 111 additions and 0 deletions

7
src/linux/quotactl.c Normal file
View File

@ -0,0 +1,7 @@
#include <sys/quota.h>
#include "syscall.h"
int quotactl(int cmd, const char *special, int id, char *addr)
{
return syscall(SYS_quotactl, cmd, special, id, addr);
}