In Unix and related computer operating systems, a file descriptor (FD, less frequently fildes) is an abstract indicator used to access a file or other input/output resource, such as a pipe or network connection. File descriptors form part of the POSIXapplication programming interface. A file descriptor is a non-negative integer, represented in C programming language as the type .