Searched refs:__sfileno (Results 1 – 7 of 7) sorted by relevance
/netbsd/lib/libc/stdio/ |
H A D | stdio.c | 69 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 D | makebuf.c | 146 if (couldbetty && isatty(__sfileno(fp))) in __smakebuf() 168 if (__sfileno(fp) == -1 || fstat(__sfileno(fp), &st) < 0) { in __swhatbuf()
|
H A D | fseeko.c | 159 __sfileno(fp) == -1 || fstat(__sfileno(fp), &st) || in __weak_alias() 175 if (fstat(__sfileno(fp), &st)) in __weak_alias()
|
H A D | fileno.c | 67 r = __sfileno(fp); in __weak_alias()
|
H A D | freopen.c | 99 if ((wantfd = __sfileno(fp)) == -1 && isopen) { in freopen()
|
H A D | vfwprintf.c | 840 __sfileno(fp) != -1) in WDECL()
|
/netbsd/include/ |
H A D | stdio.h | 485 #define __sfileno(p) \ macro 506 #define fileno(p) __sfileno(p)
|