modules/ut/fdwrap.h

/* [<][>]
[^][v][top][bottom][index][help] */

FUNCTIONS

This source file includes following functions.
  1. close
  2. fclose

   1 #ifndef FDWRAP_H
   2 #define FDWRAP_H
   3 
   4 #include <stdio.h>
   5 
   6 #define close(fd)   fdwrap_close(&(fd), __FILE__, __LINE__)
     /* [<][>][^][v][top][bottom][index][help] */
   7 #define fclose(fp)  fdwrap_fclose(&(fp), __FILE__, __LINE__)
     /* [<][>][^][v][top][bottom][index][help] */
   8 
   9 int fdwrap_close(int *fd, const char *file, int line);
  10 int fdwrap_fclose(FILE **fp, const char *file, int line);
  11 
  12 #endif /* FDWRAP_H */
  13 

/* [<][>][^][v][top][bottom][index][help] */