- t2ex
- bsd_source/lib/libc/src_bsd/stdio/fclose.c - 2.6KB - 64 lines
49: WCIO_FREE(fp);
50: r = fp->_flags & __SWR ? __sflush(fp) : 0;
51: if (fp->_close != NULL && (e = (*fp->_close)(fp->_cookie)) < 0 && (e &= 0xffff) != 0)
- bsd_source/lib/libc/src_bsd/stdio/fflush.c - 3.1KB - 97 lines
50: } else
51: r = __sflush(fp);
52: FUNLOCKFILE(fp);
- More results from fflush.c
- bsd_source/lib/libc/src_bsd/stdio/freopen.c - 6.5KB - 172 lines
79: if (fp->_flags & __SWR)
80: (void) __sflush(fp);
81: /* if close is NULL, closing is a no-op, hence pointless */
- bsd_source/lib/libc/src_bsd/stdio/fseek.c - 8.9KB - 261 lines
81: */
82: __sflush(fp); /* may adjust seek offset on append stream */
83: if (fp->_flags & __SOFF)
- More results from fseek.c
- bsd_source/lib/libc/src_bsd/stdio/ftell.c - 3.5KB - 101 lines
56: FLOCKFILE(fp);
57: __sflush(fp); /* may adjust seek offset on append stream */
58: if (fp->_flags & __SOFF)
- bsd_source/lib/libc/src_bsd/stdio/fvwrite.c - 8.5KB - 204 lines
136: fp->_p += w;
137: if (__sflush(fp))
138: goto err;
- More results from fvwrite.c
- bsd_source/lib/libc/src_bsd/stdio/refill.c - 4.7KB - 128 lines
73: if (fp->_flags & __SWR) {
74: if (__sflush(fp))
75: return (EOF);
- More results from refill.c
- bsd_source/lib/libc/src_bsd/stdio/setvbuf.c - 5.6KB - 154 lines
65: ret = 0;
66: (void)__sflush(fp);
67: if (HASUB(fp))
- bsd_source/lib/libc/src_bsd/stdio/ungetc.c - 5.3KB - 156 lines
98: if (fp->_flags & __SWR) {
99: if (__sflush(fp))
100: goto error;
- bsd_source/lib/libc/src_bsd/stdio/vfprintf.c - 58.5KB - 1,551 lines
141: ret = __vfprintf(&fake, fmt, ap);
142: if (ret >= 0 && __sflush(&fake))
143: ret = EOF;