Home
last modified time | relevance | path

Searched refs:_ubuf (Results 1 – 4 of 4) sorted by relevance

/netbsd/src/lib/libc/stdio/
Dungetc.c66 if (_UB(fp)._base == fp->_ubuf) { in __submore()
74 p += BUFSIZ - sizeof(fp->_ubuf); in __submore()
75 for (i = sizeof(fp->_ubuf); --i >= 0;) in __submore()
76 p[i] = fp->_ubuf[i]; in __submore()
161 _UB(fp)._base = fp->_ubuf; in ungetc()
162 _UB(fp)._size = sizeof(fp->_ubuf); in ungetc()
163 fp->_ubuf[sizeof(fp->_ubuf) - 1] = c; in ungetc()
164 fp->_p = &fp->_ubuf[sizeof(fp->_ubuf) - 1]; in ungetc()
Dlocal.h101 if (_UB(fp)._base != (fp)->_ubuf) \
Dfindfp.c75 ._ubuf = { [0] = '\0', [1] = '\0', [2] = '\0' }, \
/netbsd/src/include/
Dstdio.h137 unsigned char _ubuf[3]; /* guarantee an ungetc() buffer */ member