*** 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: fd | Section: 4 | Source: UNIX v10 | File: fd.4
FD(4) Kernel Interfaces Manual FD(4) NAME fd, stdin, stdout, stderr, tty - file descriptor files DESCRIPTION These files, conventionally called /dev/fd/0, /dev/fd/1, ... /dev/fd/127, refer to files accessible through file descriptors. If file descriptor n is open, these two system calls have the same effect: fd = open("/dev/fd/n", mode); fd = dup(n); On these devices creat (see open(2)) is equivalent to open, and mode is ignored. As with dup, subsequent reads or writes on fd fail unless the original file descriptor allows the operations. FILES linked to linked to linked to linked to SEE ALSO open(2), dup(2) DIAGNOSTICS Open returns -1 and EBADF if the related file descriptor is not open and in the appropriate mode (reading or writing). FD(4)

Navigation Options