Q_GETSTATS2const
Get statistics about the quota subsystem
Usage
#include <sys/quota.h>
[[deprecated]] int quotactl(QCMD(Q_GETSTATS, type), NULL, 0, caddr_t addr);
#include <sys/quota.h> /* Definition of Q_* constants */ #include <sys/syscall.h> /* Definition of SYS_* constants */ #include <unistd.h>
[[deprecated]] int syscall(SYS_quotactl_fd, int fd, QCMD(Q_GETSTATS, type), 0, struct dqstats *addr);
Library
Standard C library (libc, -lc)
Overview
Get statistics and other generic information about the quota subsystem.
The addr argument should be a pointer to a dqstats structure in which data should be stored. This structure is defined in <sys/quota.h>.
Return value
See quotactl(2).
Errors
See quotactl(2).