Q_XSETQLIM(2const) Q_XSETQLIM(2const)

Q_XSETQLIM - set quota limits

Standard C library (libc-lc)

#include <xfs/xqm.h>      /* See quotactl(2) */
#include <sys/quota.h>
int quotactl(QCMD(Q_XSETQLIM, type), const char *_Nullable special,
             int id, caddr_t addr);
#include <xfs/xqm.h>      /* See quotactl_fd(2) */
#include <sys/syscall.h>  /* Definition of SYS_* constants */
#include <unistd.h>
int syscall(SYS_quotactl_fd, int fd, QCMD(Q_XSETQLIM, type),
            int id, struct fs_disk_quota *addr);

Set disk quota limits for user id.

The addr argument is a pointer to an fs_disk_quota(2type) structure.

This operation requires privilege (CAP_SYS_ADMIN).

See quotactl(2).

See quotactl(2).

Linux.

Linux.

quotactl(2), quotactl_fd(2), fs_disk_quota(2type)

2026-06-05 Linux man-pages 6.19