Schily's LIBRARY FUNCTIONS                               FDOWN(3)


NAME

     fdown() - returns a logical unit number


SYNOPSIS

     int fdown(f)
          FILE *f;


DESCRIPTION

     fdown(), given a standard I/O  FILE  *f,  returns  the  file
     number. A file number is usually a small number like 2 which
     is not a unique number system-wide but is  peculiar  to  the
     specified  process.   fdown() can be used to implement addi-
     tional functions  not  provided  for  in  the  standard  I/O
     library.  It  verifies  that  the file was opened via fileo-
     pen().


RETURNS

     Returns the actual system file number.


NOTES

     Since this call is system dependent, it should be used care-
     fully.

Joerg Schilling    Last change: 15. Juli 1988                   1


Man(1) output converted with man2html


FhG Schily's Home VED powered