Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
  2. #include <stdio.h>
  3. #include <libc/file.h>
  4.  
  5. #undef fileno
  6. int
  7. fileno(FILE *stream)
  8. {
  9.   return stream ? stream->_file : -1;
  10. }
  11.