QUOTA(2) UNIX Programmer's Manual QUOTA(2) NAME quota - set quota parameters SYNOPSIS #include quota(name, current, max) char *name; daddr_t current, max; DESCRIPTION _N_a_m_e points to a null-terminated string naming a quota file; _c_u_r_r_e_n_t and _m_a_x are integers which describe the current and maximum usage in disk sectors (512-byte blocks). This system call is used for setting quota information and may be executed only by the super-user. ERRORS _Q_u_o_t_a will fail and no quota node will be created if: [EINVAL] The path name contains a non-ASCII byte. [EPERM] The process's effective user ID is not the super-user. [ENOTDIR] A component of the path prefix is not a directory. [EACCES] A component of the path prefix denies search permission. [EACCES] The named file is not a quota node. [ENOENT] The named file does not exist. [EISDIR] The named file is a directory. [EROFS] The directory in which the file is to be created is on a read-only file system. [EFAULT] _N_a_m_e points outside the process's allo- cated address space. [ELOOP] Too many symbolic links were encountered in translating the path name. SEE ALSO du(1), file(1), ls(1), pq(1), mknod(2), qfstat(2), qstat(2), setquota(8) Printed 5/23/83 1 QUOTA(2) UNIX Programmer's Manual QUOTA(2) ASSEMBLER (local = 58., quota = 10.) sys local; 9f . . . .data 9: sys quota; name; current; max Printed 5/23/83 2