Q_SYNC(2const)

Q_SYNC2const

Synchronize on-disk copy of quota usages

Usage

#include <sys/quota.h>

int quotactl(QCMD(Q_SYNC, type), const char *_Nullable special, 0, NULL);

#include <sys/quota.h> /* Definition of Q_* constants */ #include <sys/syscall.h> /* Definition of SYS_* constants */ #include <unistd.h>

int syscall(SYS_quotactl_fd, int fd, QCMD(Q_SYNC, type));

Library

Standard C library (libc, -lc)

Overview

Update the on-disk copy of quota usages for a filesystem.

For quotactl(2), if special is NULL, then all filesystems with active quotas are synchronized. quotactl_fd(2) always synchronizes only one filesystem.

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.