Skip to content

Glossary: Operating System Basics

file descriptor

Also written: file descriptors, descriptor

A small number the kernel gives a program for an open file, such as 3 for `order.txt`. Numbers 0, 1 and 2 are standard input, output and error.

Where the book teaches it

Related terms

system callstandard outputredirection