Lines Matching refs:iop

61 #define	SET_IONOLOCK(iop)	((iop)->_flag |= _IONOLOCK)  argument
62 #define CLEAR_IONOLOCK(iop) ((iop)->_flag &= ~_IONOLOCK) argument
63 #define GET_IONOLOCK(iop) ((iop)->_flag & _IONOLOCK) argument
64 #define SET_BYTE_MODE(iop) ((iop)->_flag |= _BYTE_MODE_FLAG) argument
65 #define CLEAR_BYTE_MODE(iop) ((iop)->_flag &= ~_BYTE_MODE_FLAG) argument
66 #define GET_BYTE_MODE(iop) ((iop)->_flag & _BYTE_MODE_FLAG) argument
67 #define SET_WC_MODE(iop) ((iop)->_flag |= _WC_MODE_FLAG) argument
68 #define CLEAR_WC_MODE(iop) ((iop)->_flag &= ~_WC_MODE_FLAG) argument
69 #define GET_WC_MODE(iop) ((iop)->_flag & _WC_MODE_FLAG) argument
70 #define GET_NO_MODE(iop) (!((iop)->_flag & \ argument
72 #define SET_SEEKABLE(iop) ((iop)->_flag |= _SEEKABLE) argument
73 #define CLEAR_SEEKABLE(iop) ((iop)->_flag &= ~_SEEKABLE) argument
74 #define GET_SEEKABLE(iop) ((iop)->_flag & _SEEKABLE) argument
78 #define SET_IONOLOCK(iop) ((iop)->__ionolock = 1) argument
79 #define CLEAR_IONOLOCK(iop) ((iop)->__ionolock = 0) argument
80 #define GET_IONOLOCK(iop) ((iop)->__ionolock) argument
81 #define SET_BYTE_MODE(iop) ((iop)->__orientation |= _BYTE_MODE_FLAG) argument
82 #define CLEAR_BYTE_MODE(iop) ((iop)->__orientation &= ~_BYTE_MODE_FLAG) argument
83 #define GET_BYTE_MODE(iop) ((iop)->__orientation & _BYTE_MODE_FLAG) argument
84 #define SET_WC_MODE(iop) ((iop)->__orientation |= _WC_MODE_FLAG) argument
85 #define CLEAR_WC_MODE(iop) ((iop)->__orientation &= ~_WC_MODE_FLAG) argument
86 #define GET_WC_MODE(iop) ((iop)->__orientation & _WC_MODE_FLAG) argument
87 #define GET_NO_MODE(iop) (!((iop)->__orientation & \ argument
89 #define SET_SEEKABLE(iop) ((iop)->__seekable = 1) argument
90 #define CLEAR_SEEKABLE(iop) ((iop)->__seekable = 0) argument
91 #define GET_SEEKABLE(iop) ((iop)->__seekable) argument
94 #define STDIOP(iop) ((iop) >= &_iob[0] && (iop) < &_iob[_NFILE]) argument
97 #define IOPIND(iop) ((iop) - &_iob[0]) argument
128 #define _bufend(iop) _realbufend(iop) argument
153 #define _realbufend(iop) ((iop)->_end) argument
155 extern Uchar *_realbufend(FILE *iop);
156 extern rmutex_t *_reallock(FILE *iop);
159 extern void _setbufend(FILE *iop, Uchar *end);
160 extern rmutex_t *_flockget(FILE *iop);
161 extern int _xflsbuf(FILE *iop);
162 extern int _wrtchk(FILE *iop);
163 extern void _bufsync(FILE *iop, Uchar *bufend);
164 extern int _fflush_u(FILE *iop);
165 extern int close_fd(FILE *iop);
183 #define GET_FD(iop) ((iop)->_file) argument
184 #define SET_FILE(iop, fd) ((iop)->_file = (fd)) argument
186 #define GET_FD(iop) \ argument
187 (((iop)->__extendedfd) ? _file_get(iop) : (iop)->_magic)
188 #define SET_FILE(iop, fd) (iop)->_magic = (fd); (iop)->__extendedfd = 0 argument
204 extern int _fileno(FILE *iop);
209 extern Uchar *_findbuf(FILE *iop);
247 #define _WRTCHK(iop) ((((iop->_flag & (_IOWRT | _IOEOF)) != _IOWRT) || \ argument
248 (iop->_base == 0) || \
249 (iop->_ptr == iop->_base && iop->_cnt == 0 && \
250 !(iop->_flag & (_IONBF | _IOLBF)))) \
251 ? _wrtchk(iop) : 0)
254 #define IOB_LCK(iop) (&((iop)->_lock)) argument
256 #define IOB_LCK(iop) (STDIOP(iop) ? &_xftab[IOPIND(iop)]._lock \ argument
257 : _reallock(iop))