Lines Matching refs:iop

70 #define	SET_IONOLOCK(iop)	((iop)->_flag |= _IONOLOCK)  argument
71 #define CLEAR_IONOLOCK(iop) ((iop)->_flag &= ~_IONOLOCK) argument
72 #define GET_IONOLOCK(iop) ((iop)->_flag & _IONOLOCK) argument
73 #define SET_BYTE_MODE(iop) ((iop)->_flag |= _BYTE_MODE_FLAG) argument
74 #define CLEAR_BYTE_MODE(iop) ((iop)->_flag &= ~_BYTE_MODE_FLAG) argument
75 #define GET_BYTE_MODE(iop) ((iop)->_flag & _BYTE_MODE_FLAG) argument
76 #define SET_WC_MODE(iop) ((iop)->_flag |= _WC_MODE_FLAG) argument
77 #define CLEAR_WC_MODE(iop) ((iop)->_flag &= ~_WC_MODE_FLAG) argument
78 #define GET_WC_MODE(iop) ((iop)->_flag & _WC_MODE_FLAG) argument
79 #define GET_NO_MODE(iop) (!((iop)->_flag & \ argument
81 #define SET_SEEKABLE(iop) ((iop)->_flag |= _SEEKABLE) argument
82 #define CLEAR_SEEKABLE(iop) ((iop)->_flag &= ~_SEEKABLE) argument
83 #define GET_SEEKABLE(iop) ((iop)->_flag & _SEEKABLE) argument
87 #define SET_IONOLOCK(iop) ((iop)->__ionolock = 1) argument
88 #define CLEAR_IONOLOCK(iop) ((iop)->__ionolock = 0) argument
89 #define GET_IONOLOCK(iop) ((iop)->__ionolock) argument
90 #define SET_BYTE_MODE(iop) ((iop)->__orientation |= _BYTE_MODE_FLAG) argument
91 #define CLEAR_BYTE_MODE(iop) ((iop)->__orientation &= ~_BYTE_MODE_FLAG) argument
92 #define GET_BYTE_MODE(iop) ((iop)->__orientation & _BYTE_MODE_FLAG) argument
93 #define SET_WC_MODE(iop) ((iop)->__orientation |= _WC_MODE_FLAG) argument
94 #define CLEAR_WC_MODE(iop) ((iop)->__orientation &= ~_WC_MODE_FLAG) argument
95 #define GET_WC_MODE(iop) ((iop)->__orientation & _WC_MODE_FLAG) argument
96 #define GET_NO_MODE(iop) (!((iop)->__orientation & \ argument
98 #define SET_SEEKABLE(iop) ((iop)->__seekable = 1) argument
99 #define CLEAR_SEEKABLE(iop) ((iop)->__seekable = 0) argument
100 #define GET_SEEKABLE(iop) ((iop)->__seekable) argument
103 #define STDIOP(iop) ((iop) >= &_iob[0] && (iop) < &_iob[_NFILE]) argument
106 #define IOPIND(iop) ((iop) - &_iob[0]) argument
137 #define _bufend(iop) _realbufend(iop) argument
162 #define _realbufend(iop) ((iop)->_end) argument
164 extern Uchar *_realbufend(FILE *iop);
165 extern rmutex_t *_reallock(FILE *iop);
168 extern void _setbufend(FILE *iop, Uchar *end);
169 extern rmutex_t *_flockget(FILE *iop);
170 extern int _xflsbuf(FILE *iop);
171 extern int _wrtchk(FILE *iop);
172 extern void _bufsync(FILE *iop, Uchar *bufend);
173 extern int _fflush_u(FILE *iop);
174 extern int close_fd(FILE *iop);
192 #define SET_FILE(iop, fd) ((iop)->_file = (fd)) argument
194 #define SET_FILE(iop, fd) (iop)->_magic = (fd); (iop)->__extendedfd = 0 argument
210 extern int _fileno(FILE *iop);
215 extern Uchar *_findbuf(FILE *iop);
253 #define _WRTCHK(iop) ((((iop->_flag & (_IOWRT | _IOEOF)) != _IOWRT) || \ argument
254 (iop->_base == 0) || \
255 (iop->_ptr == iop->_base && iop->_cnt == 0 && \
256 !(iop->_flag & (_IONBF | _IOLBF)))) \
257 ? _wrtchk(iop) : 0)
260 #define IOB_LCK(iop) (&((iop)->_lock)) argument
262 #define IOB_LCK(iop) (STDIOP(iop) ? &_xftab[IOPIND(iop)]._lock \ argument
263 : _reallock(iop))
273 extern ssize_t _xread(FILE *iop, void *buf, size_t nbytes);
274 extern ssize_t _xwrite(FILE *iop, const void *buf, size_t nbytes);
275 extern off_t _xseek(FILE *iop, off_t off, int whence);
276 extern off64_t _xseek64(FILE *iop, off64_t off, int whence);
277 extern int _xclose(FILE *iop);
278 extern void *_xdata(FILE *iop);
279 extern int _xassoc(FILE *iop, fread_t readf, fwrite_t writef,
281 extern void _xunassoc(FILE *iop);
299 extern off64_t ftell_common(FILE *iop);