fileno

Returns the file descriptor associated with the specified file pointer.

Format

#include  <stdio.h>

int fileno  (FILE *file_ptr);

Argument

file_ptr
A file pointer.

Return Value
Integer file descriptor. 
-1  Indicates an error. 


Previous Page | Next Page | Table of Contents | Index