file descriptor

(redirected from Unbuffered IO)

file descriptor

(programming, operating system)
An integer that identifies an open file within a process. This number is obtained as a result of opening a file. Operations which read, write, or close a file would take the file descriptor as an input parameter.

In many operating system implementations, file descriptors are small integers which index a table of open files. In Unix, file descriptors 0, 1 and 2 correspond to the standard input, standard output and standard error files respectively.

See file descriptor leak.
This article is provided by FOLDOC - Free Online Dictionary of Computing (foldoc.org)

file handle

A temporary reference (typically a number) assigned by the operating system to a file that an application has asked it to open. The handle is used throughout the session to access the file. In the Unix/Linux world, a file handle is called a "file descriptor."
Copyright © 1981-2019 by The Computer Language Company Inc. All Rights reserved. THIS DEFINITION IS FOR PERSONAL USE ONLY. All other reproduction is strictly prohibited without permission from the publisher.