Lines Matching +full:buffered +full:- +full:positive
1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
87 * by a three-character attempt at a mnemonic.
102 * _lbfsize is -_bf._size, else _lbfsize is 0
111 * _lbfsize is used only to make the inline line-buffered output stream
117 * _ub._base becomes non-nil (i.e., a stream has ungetc() data iff
129 short _file; /* (*) fileno, if Unix descriptor, else -1 */
131 int _lbfsize; /* (*) 0 or -_bf._size, for inline putc */
156 struct pthread_mutex *_fl_mutex; /* used for MT-safety */
176 #define __SLBF 0x0001 /* line buffered */
205 #define _IOFBF 0 /* setvbuf should set fully buffered */
206 #define _IOLBF 1 /* setvbuf should set line buffered */
210 #define EOF (-1)
408 * positive errno values. Use strerror() or strerror_r() from <string.h>
415 * Stdio function-access interface.
470 #define __sgetc(p) (--(p)->_r < 0 ? __srget(p) : (int)(*(p)->_p++))
473 if (--_p->_w >= 0 || (_p->_w >= _p->_lbfsize && (char)_c != '\n')) in __sputc()
474 return (*_p->_p++ = _c); in __sputc()
483 (--(p)->_w < 0 ? \
484 (p)->_w >= (p)->_lbfsize ? \
485 (*(p)->_p = (c)), *(p)->_p != '\n' ? \
486 (int)*(p)->_p++ : \
489 (*(p)->_p = (c), (int)*(p)->_p++))
499 #define __sfeof(p) (((p)->_flags & __SEOF) != 0)
500 #define __sferror(p) (((p)->_flags & __SERR) != 0)
501 #define __sclearerr(p) ((void)((p)->_flags &= ~(__SERR|__SEOF)))
502 #define __sfileno(p) ((p)->_file)
521 * See ISO/IEC 9945-1 ANSI/IEEE Std 1003.1 Second Edition 1996-07-12