Home
last modified time | relevance | path

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

/freebsd/lib/libstdbuf/
H A Dstdbuf.c51 change_buf(FILE *s, const char *bufmode) in change_buf() argument
58 if (bufmode[0] == '0' && bufmode[1] == '\0') in change_buf()
60 else if (bufmode[0] == 'L' && bufmode[1] == '\0') in change_buf()
62 else if (bufmode[0] == 'B' && bufmode[1] == '\0') { in change_buf()
72 bufsize = strtol(bufmode, &unit, 0); in change_buf()
73 if (errno == EINVAL || errno == ERANGE || unit == bufmode) in change_buf()
74 warn("Wrong buffer mode '%s' for %s", bufmode, in change_buf()
96 warn("Cannot set buffer mode '%s' for %s", bufmode, in change_buf()
/freebsd/contrib/llvm-project/libc/src/__support/File/
H A Dfile.cpp29 if (bufmode == _IONBF) { // unbuffered. in write_unlocked()
34 } else if (bufmode == _IOFBF) { // fully buffered in write_unlocked()
194 if (bufmode == _IONBF) { // unbuffered. in read_unlocked()
196 } else if (bufmode == _IOFBF) { // fully buffered in read_unlocked()
427 bufmode = buffer_mode; in set_buffer()
H A Dfile.h101 int bufmode; variable
162 ungetc_buf(0), buf(buffer), bufsize(buffer_size), bufmode(buffer_mode), in File()
/freebsd/contrib/libpcap/
H A Dpcap-bpf.c1911 u_int bufmode, zbufmax; local
2126 bufmode = BPF_BUFMODE_ZBUF;
2127 if (ioctl(fd, BIOCSETBUFMODE, (caddr_t)&bufmode) == 0) {