Home
last modified time | relevance | path

Searched refs:__sfileno (Results 1 – 7 of 7) sorted by relevance

/netbsd/lib/libc/stdio/
H A Dstdio.c69 ret = read(__sfileno(fp), buf, n); in __sread()
89 if (lseek(__sfileno(fp), (off_t)0, SEEK_END) == (off_t)-1) { in __swrite()
96 return write(__sfileno(fp), buf, n); in __swrite()
108 ret = lseek(__sfileno(fp), offset, whence); in __sseek()
126 return close(__sfileno(fp)); in __sclose()
H A Dmakebuf.c146 if (couldbetty && isatty(__sfileno(fp))) in __smakebuf()
168 if (__sfileno(fp) == -1 || fstat(__sfileno(fp), &st) < 0) { in __swhatbuf()
H A Dfseeko.c159 __sfileno(fp) == -1 || fstat(__sfileno(fp), &st) || in __weak_alias()
175 if (fstat(__sfileno(fp), &st)) in __weak_alias()
H A Dfileno.c67 r = __sfileno(fp); in __weak_alias()
H A Dfreopen.c99 if ((wantfd = __sfileno(fp)) == -1 && isopen) { in freopen()
H A Dvfwprintf.c840 __sfileno(fp) != -1) in WDECL()
/netbsd/include/
H A Dstdio.h485 #define __sfileno(p) \ macro
506 #define fileno(p) __sfileno(p)