Lines Matching defs:fp
59 extern int __fflush(FILE *fp);
87 FILE * __restrict fp);
91 __fgetwc(FILE *fp, locale_t locale)
95 return (__fgetwc_mbs(fp, &fp->_mbstate, &nread, locale));
102 #define prepwrite(fp) \
103 ((((fp)->_flags & __SWR) == 0 || \
104 ((fp)->_bf._base == NULL && ((fp)->_flags & __SSTR) == 0)) && \
105 __swsetup(fp))
111 #define HASUB(fp) ((fp)->_ub._base != NULL)
112 #define FREEUB(fp) { \
113 if ((fp)->_ub._base != (fp)->_ubuf) \
114 free((char *)(fp)->_ub._base); \
115 (fp)->_ub._base = NULL; \
121 #define HASLB(fp) ((fp)->_lb._base != NULL)
122 #define FREELB(fp) { \
123 free((char *)(fp)->_lb._base); \
124 (fp)->_lb._base = NULL; \
139 #define ORIENT(fp, o) do { \
140 if ((fp)->_orientation == 0) \
141 (fp)->_orientation = (o); \
145 #define FLOCKFILE_CANCELSAFE(fp) \
149 _FLOCKFILE(fp); \
151 __stdio_cancel_cleanup, (fp), \