*** 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_fcntl_arg_p | Section: 3 | Source: FreeBSD | File: sysdecode_fcntl_arg_p.3.gz
sysdecode_fcntl_arg(3) FreeBSD Library Functions Manual NAME sysdecode_fcntl_arg, sysdecode_fcntl_arg_p - output description of fcntl argument LIBRARY System Argument Decoding Library (libsysdecode, -lsysdecode) SYNOPSIS #include <sysdecode.h> void sysdecode_fcntl_arg(FILE *fp, int cmd, uintptr_t arg, int base); bool sysdecode_fcntl_arg_p(int cmd); DESCRIPTION The sysdecode_fcntl_arg() function outputs a text description of the optional arg argument to fcntl(2) to the stream fp. The type and format of arg are determined by cmd: Command arg Type Output Format F_SETFD int "FD_CLOEXEC" or the value of arg in the indicated base (one of 8, 10, or 16). F_SETFL int File flags as output by sysdecode_fcntl_fileflags(3) with any unknown or remaining bits output in hexadecimal. F_GETLK struct flock * F_SETLK struct flock * F_SETLKW struct flock * The value of arg using the "%p" conversion specification. Others int The value of arg in the indicated base (one of 8, 10, or 16). The sysdecode_fcntl_arg_p() function can be used to determine if a fcntl(2) command uses the optional third argument to fcntl(2). The function returns true if cmd accepts a third argument to fcntl(2) and false if it does not. RETURN VALUES The sysdecode_fcntl_arg_p function returns true if cmd accepts a third argument to fcntl(2) and false if it does not. SEE ALSO sysdecode(3), sysdecode_fcntl_cmd(3), sysdecode_fcntl_fileflags(3) FreeBSD 14.1-RELEASE-p8 November 24, 2017 FreeBSD 14.1-RELEASE-p8

Navigation Options