- t2ex
- bsd_source/lib/libc/src_bsd/stdio/clrerr.c - 1.9KB - 44 lines
42: __sclearerr(fp); fp -> _er = 0;
43: FUNLOCKFILE(fp);
44: }
- bsd_source/lib/libc/src_bsd/stdio/fclose.c - 2.6KB - 64 lines
60: fp->_flags = 0; /* Release this FILE for reuse. */
61: FUNLOCKFILE(fp);
62: e1: if (r == EOF && eno) *eno = e; return (r);
- bsd_source/lib/libc/src_bsd/stdio/feof.c - 1.9KB - 51 lines
48: ret = __sfeof(fp);
49: FUNLOCKFILE(fp);
50: return (ret);
- bsd_source/lib/libc/src_bsd/stdio/ferror.c - 2.0KB - 51 lines
48: ret = __sferror(fp); if (ret) { ret = fp -> _er; if (ret == 0) ret = 1; }
49: FUNLOCKFILE(fp);
50: return (ret);
- bsd_source/lib/libc/src_bsd/stdio/fflush.c - 3.1KB - 97 lines
51: r = __sflush(fp);
52: FUNLOCKFILE(fp);
53: return (r);
- More results from fflush.c
- bsd_source/lib/libc/src_bsd/stdio/fgets.c - 3.9KB - 105 lines
68: if (s == buf) {
69: FUNLOCKFILE(fp);
70: return (NULL);
- More results from fgets.c
- bsd_source/lib/libc/src_bsd/stdio/fileno.c - 2.0KB - 51 lines
48: ret = __sfileno(fp);
49: FUNLOCKFILE(fp);
50: return (ret);
- bsd_source/lib/libc/src_bsd/stdio/fputs.c - 2.2KB - 58 lines
55: ret = __sfvwrite(fp, &uio);
56: FUNLOCKFILE(fp);
57: return (ret);
- bsd_source/lib/libc/src_bsd/stdio/fread.c - 3.1KB - 86 lines
83: cnt = __sfread(buf, size, count, fp);
84: FUNLOCKFILE(fp);
85: return cnt;
- bsd_source/lib/libc/src_bsd/stdio/freopen.c - 6.5KB - 172 lines
125: fp->_flags = 0; /* set it free */
126: FUNLOCKFILE(fp);
127: /*errno*/f = sverrno; /* restore in case _close clobbered */
- More results from freopen.c