Lines Matching refs:fp
71 #define cantwrite(fp) \ argument
72 ((((fp)->_flags & __SWR) == 0 || (fp)->_bf._base == NULL) && \
73 __swsetup(fp))
79 #define HASUB(fp) (_UB(fp)._base != NULL) argument
80 #define FREEUB(fp) { \ argument
81 if (_UB(fp)._base != (fp)->_ubuf) \
82 free(_UB(fp)._base); \
83 _UB(fp)._base = NULL; \
89 #define HASLB(fp) ((fp)->_lb._base != NULL) argument
90 #define FREELB(fp) { \ argument
91 free((char *)(fp)->_lb._base); \
92 (fp)->_lb._base = NULL; \
95 #define FLOCKFILE(fp) do { if (__isthreaded) flockfile(fp); } while (0) argument
96 #define FUNLOCKFILE(fp) do { if (__isthreaded) funlockfile(fp); } while (0) argument