|
NAMEsysdecode_quotactl_cmd —
output name of quotactl command
LIBRARYSystem Argument Decoding Library (libsysdecode, -lsysdecode)SYNOPSIS#include <sys/types.h>
#include <stdbool.h>
#include <stdio.h>
#include <sysdecode.h>
bool
DESCRIPTIONThesysdecode_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 RETURN VALUESThesysdecode_quotactl_cmd function returns
true if it outputs a description of
cmd and false if it does not.
EXAMPLESThe statementsysdecode_quotatcl_cmd(stdout,
QCMD(Q_GETQUOTA, USRQUOTA); outputs the text “QCMD(Q_GETQUOTA, USRQUOTA)” to standard output. SEE ALSOsysdecode(3)
Visit the GSP FreeBSD Man Page Interface. |