diff options
| author | Rich Felker <dalias@aerifal.cx> | 2013-12-20 11:52:10 -0500 |
|---|---|---|
| committer | Rich Felker <dalias@aerifal.cx> | 2013-12-20 11:52:10 -0500 |
| commit | e36d8a1d74a00e56990728508635296440ddce1c (patch) | |
| tree | 0839c2bbef499685b4822ff0191986976bb5b317 /src | |
| parent | c91ad4f7167bad8314b06c487ddd1c638981fc24 (diff) | |
| download | musl-e36d8a1d74a00e56990728508635296440ddce1c.tar.gz | |
add sys/quota.h and quotactl syscall wrapper
based on patch by Timo Teräs.
Diffstat (limited to 'src')
| -rw-r--r-- | src/linux/quotactl.c | 7 |
1 files changed, 7 insertions, 0 deletions
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 <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); +} |
