*** 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: isfdtype | Section: 3 | Source: OpenBSD | File: isfdtype.3
ISFDTYPE(3) FreeBSD Library Functions Manual ISFDTYPE(3) NAME isfdtype - determine whether a file descriptor is of a specific type SYNOPSIS #include <sys/stat.h> int isfdtype(int fd, int fdtype); DESCRIPTION The isfdtype() function checks whether or not the file descriptor fd is of type fdtype. A list of possible file types may be found in stat(2) and the <sys/stat.h> include file. RETURN VALUES The isfdtype() function returns 1 if fd is of type fdtype and 0 if it is not. If isfdtype() fails, a value of -1 is returned and the global variable errno is set to indicate the error. ERRORS The following error codes may be set in errno: [EBADF] fd is not a valid open file descriptor. [EIO] An I/O error occurred while reading from or writing to the file system. SEE ALSO stat(2) HISTORY The isfdtype() function first appeared in OpenBSD 3.3. FreeBSD 14.1-RELEASE-p8 January 25, 2019 FreeBSD 14.1-RELEASE-p8

Navigation Options