FD(4) - Device Drivers Manual
FD(4) - Device Drivers Manual # FD(4) - Device Drivers Manual NAME # fd, stdin, stdout, stderr - file descriptor files DESCRIPTION # The files /dev/fd/0 through /dev/fd/# refer to file descriptors which can be accessed through the file system. If the file descriptor is open and the mode the file is being opened with is a subset of the mode of the existing descriptor, the call: fd = open("/dev/fd/0", mode); and the call: ...