Q_XSETQLIM(2const)

Q_XSETQLIM2const

Set quota limits

Usage

#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);

Library

Standard C library (libc, -lc)

Overview

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).

Return value

See quotactl(2).

Errors

See quotactl(2).

Standards

Linux.

History

Linux.

From man-pages 6.19-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.