NAME

quotactl - manipulate disk quotas

SYNOPSIS

#include <linux/quota.h>

int quotactl(cmd, special, uid, addr)
int cmd;
char **special;
int id;
caddr_t addr;

DESCRIPTION

The quotactl call manipulates disk quotas. cmd indicates a command to be applied to UID id or GID id . To set the type of quota use the QCMD(cmd, type) macro.

Special is a pointer to a null-terminated string containing the path name of the block special device for the file system being manipulated.

Addr is the address of an optional, command specific, data structure which is copied in or out of the system. The interpretation of addr is given with each command below.

RETURN VALUES

quotactl returns:

ERRORS

If cmd is Q_QUOTAON quotactl may set errno to:

SEE ALSO

quota (1), quotacheck (8), quotaon (8),