Table of Contents Previous topic Next topic
C COMPILER LIBRARY FUNCTIONS->Detailed Descriptions->fileno()
Summary
#include <stdio.h>
int fileno(FILE* stream); Get file handle for given stream
Parameter
stream Pointer to FILE structure
Description
This function returns the file handle for the given stream.
Return Value
The return value is the file handle. There is no check for a valid stream pointer. If an invalid stream pointer value is passed, then the return value is undefined.