Lines Matching refs:FILE

50 #define	FILE_ARY_SZ	8 /* a nice size for FILE array & end_buffer_ptrs */
59 #define FPDECL(fp) FILE *fp
65 #define xFILE FILE
69 #define FPDECL(fp) FILE *fp; xFILE *x##fp
80 FILE _iob; /* must be first! */
103 xFILE *iobp; /* the array of (x)FILE's */
114 * In 32 bit processes, we don't have xFILE[FILE_ARY_SZ] but FILE[],
131 * last found a free FILE* and we remember whether we saw any fcloses
143 static FILE *getiop(FILE *, rmutex_t *, mbstate_t *);
222 FILE *
231 FILE iob[FILE_ARY_SZ];
277 FILE *ret;
299 * then continously opening and closing one FILE * gets you a full
300 * scan each time). That's why we over allocate 1 FILE for each
303 * overallocate until we reach 256 FILE *s and keeps the performance
325 * The problem with referencing a word after a FILE* is the possibility
326 * of a SIGSEGV if a non-stdio issue FILE structure ends on a page
387 isseekable(FILE *iop)
423 _setbufend(FILE *iop, Uchar *end) /* set the end pointer for this iop */
433 _realbufend(FILE *iop) /* get the end pointer for this iop */
452 getxfdat(FILE *iop)
463 _setbufend(FILE *iop, Uchar *end) /* set the end pointer for this iop */
483 _realbufend(FILE *iop) /* get the end pointer for this iop */
500 _reallock(FILE *iop)
512 _bufsync(FILE *iop, Uchar *bufend)
526 _xflsbuf(FILE *iop)
564 fflush(FILE *iop)
659 _fflush_u(FILE *iop)
686 fclose(FILE *iop)
774 close_fd(FILE *iop)
799 static FILE *
800 getiop(FILE *fp, rmutex_t *lk, mbstate_t *mb)
832 _getmbstate(FILE *iop)
844 * They lookup/set large fd's for extended FILE support.
848 * The negative value indicates that Extended fd FILE's has not
854 _file_get(FILE *iop)
859 * Failure indicates a FILE * not allocated through stdio;
871 * if this is not an internal extended FILE then check
879 "Application violated extended FILE safety mechanism.\n"
887 _file_set(FILE *iop, int fd, const char *type)
911 * Activates extended fd's in FILE's