]> git.decadent.org.uk Git - nfs-utils.git/blob - utils/rquotad/quotactl.c
rerun autoconf
[nfs-utils.git] / utils / rquotad / quotactl.c
1 /*
2  * QUOTA    An implementation of the diskquota system for the LINUX
3  *          operating system. QUOTA is implemented using the BSD systemcall
4  *          interface as the means of communication with the user level.
5  *          Should work for all filesystems because of integration into the
6  *          VFS layer of the operating system.
7  *          This is based on the Melbourne quota system wich uses both user and
8  *          group quota files.
9  *
10  *          System call interface.
11  *
12  * Version: $Id: quotactl.c,v 2.3 1995/07/23 09:58:06 mvw Exp mvw $
13  *
14  * Author:  Marco van Wieringen <mvw@planets.ow.nl> <mvw@tnix.net>
15  *
16  *          This program is free software; you can redistribute it and/or
17  *          modify it under the terms of the GNU General Public License
18  *          as published by the Free Software Foundation; either version
19  *          2 of the License, or (at your option) any later version.
20  */
21 #include "config.h"
22
23 #include <sys/types.h>
24 #include <unistd.h>
25 #include <sys/syscall.h>
26
27 int quotactl(int cmd, const char * special, int id, caddr_t addr)
28 {
29         return syscall(SYS_quotactl, cmd, special, id, addr);
30 }