Lines Matching defs:fp
60 extern int __fflush(FILE *fp);
88 FILE * __restrict fp);
92 __fgetwc(FILE *fp, locale_t locale)
96 return (__fgetwc_mbs(fp, &fp->_mbstate, &nread, locale));
103 #define prepwrite(fp) \
104 ((((fp)->_flags & __SWR) == 0 || \
105 ((fp)->_bf._base == NULL && ((fp)->_flags & __SSTR) == 0)) && \
106 __swsetup(fp))
112 #define HASUB(fp) ((fp)->_ub._base != NULL)
113 #define FREEUB(fp) { \
114 if ((fp)->_ub._base != (fp)->_ubuf) \
115 free((char *)(fp)->_ub._base); \
116 (fp)->_ub._base = NULL; \
122 #define HASLB(fp) ((fp)->_lb._base != NULL)
123 #define FREELB(fp) { \
124 free((char *)(fp)->_lb._base); \
125 (fp)->_lb._base = NULL; \
140 #define ORIENT(fp, o) do { \
141 if ((fp)->_orientation == 0) \
142 (fp)->_orientation = (o); \
146 #define FLOCKFILE_CANCELSAFE(fp) \
150 _FLOCKFILE(fp); \
152 __stdio_cancel_cleanup, (fp), \