standard.C.io._fileno

_fileno is available since version 1.0.

Prototype:

number _fileno(number fd);

Parameters

fd
A file descriptor (in C is a FILE *), in Concept is a number representing the address of that structure

Description:

Gets the file descriptor associated with a stream.

Return value:

_fileno returns the file descriptor. There is no error return. The result is undefined if stream does not specify an open file.