- t2ex
- bsd_source/lib/libc/src_bsd/stdio/fvwrite.c - 8.5KB - 204 lines
59: /* make sure we can write */
60: if (cantwrite(fp)) {
61: __sseterr(fp, EBADF);
- bsd_source/lib/libc/src_bsd/stdio/putc.c - 2.3KB - 68 lines
45: {
46: if (cantwrite(fp)) {
47: __sseterr(fp, EBADF);
- bsd_source/lib/libc/src_bsd/stdio/vfprintf.c - 58.5KB - 1,551 lines
463: /* sorry, fprintf(read_only_file, "") returns EOF, not 0 */
464: if (cantwrite(fp)) {
465: /*errno = EBADF*/;
- bsd_source/lib/libc/src_bsd/stdio/wbuf.c - 3.4KB - 84 lines
56: fp->_w = fp->_lbfsize;
57: if (cantwrite(fp)) {
58: __sseterr(fp, EBADF);