sys_quotactl

QUOTACTL(2)                 Linux Programmer's Guide                 QUOTACTL(2)



NAME
       quotactl - Manipulate disk quotas

SYNOPSIS
       int sys_quotactl (unsigned int cmd, const char *special, qid_t id,
                         caddr_t addr);


DESCRIPTION
       quotactl manipulates disk quotas. The cmd refers to one of several
       commandes to be performed on the quota ID, id. The addr parameter is the
       address of a command-specific data structure. The special parameter is a
       pointer to a null-terminated string containing the path name of the block
       special device for the file system in question.


RETURN VALUE
       quotactl returns 0 on success; otherwise, it returns the error listed in
       the "Errors" section.


ERRORS
       -ENODEV
              The block device super block pointed by to special is invalid.

              Various other errors may occur.


SEE ALSO
       quota(1), getrlimit(2), quotacheck(8), quotaon(8)


AUTHOR
       Niki Rahimi



Linux 2.6                         2004-March-12                      QUOTACTL(2)