*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: sysdecode_quotactl_cmd | Section: 3 | Source: FreeBSD | File: sysdecode_quotactl_cmd.3.gz
sysdecode_quotactl_cmd(3) FreeBSD Library Functions Manual NAME sysdecode_quotactl_cmd - output name of quotactl command LIBRARY System Argument Decoding Library (libsysdecode, -lsysdecode) SYNOPSIS #include <sysdecode.h> bool sysdecode_quotactl_cmd(FILE *fp, int cmd); DESCRIPTION The sysdecode_quotactl_cmd() function outputs a text description of the cmd argument to quotactl(2) to the stream fp. The description is formatted as an invocation of the QCMD macro defined in the <ufs/ufs/quota.h> header. The function first computes the primary and secondary values used by QCMD to construct cmd. If the primary command value does not represent a known constant, sysdecode_quotactl_cmd() does not generate any output and returns false. Otherwise, sysdecode_quotactl_cmd() outputs text depicting an invocation of QCMD with the associated constants for the primary and secondary command values and returns true. If the secondary command values does not represent a known constant, its value is output as a hexadecimal integer. RETURN VALUES The sysdecode_quotactl_cmd function returns true if it outputs a description of cmd and false if it does not. EXAMPLES The statement sysdecode_quotatcl_cmd(stdout, QCMD(Q_GETQUOTA, USRQUOTA); outputs the text "QCMD(Q_GETQUOTA, USRQUOTA)" to standard output. SEE ALSO sysdecode(3) FreeBSD 14.1-RELEASE-p8 November 24, 2017 FreeBSD 14.1-RELEASE-p8

Navigation Options