Home
last modified time | relevance | path

Searched refs:_file (Results 1 – 16 of 16) sorted by relevance

/bionic/libc/stdio/
Dstdio.c49 ret = read(fp->_file, buf, n); in __sread()
64 (void) lseek(fp->_file, (off_t)0, SEEK_END); in __swrite()
66 return (write(fp->_file, buf, n)); in __swrite()
75 ret = lseek(fp->_file, (off_t)offset, whence); in __sseek()
88 return (close(((FILE *)cookie)->_file)); in __sclose()
Dmakebuf.c72 if (couldbetty && isatty(fp->_file)) in __smakebuf()
85 if (fp->_file < 0 || fstat(fp->_file, &st) < 0) { in __swhatbuf()
Dvsprintf.c52 f._file = -1; in vsprintf()
Dsprintf.c54 f._file = -1; in sprintf()
Dvsnprintf.c57 f._file = -1; in vsnprintf()
Dfunopen.c61 fp->_file = -1; in funopen()
Dsnprintf.c58 f._file = -1; in snprintf()
Dfopen.c57 fp->_file = f; in fopen()
Dfreopen.c80 if ((wantfd = fp->_file) < 0 && isopen) { in freopen()
140 fp->_file = f; in freopen()
Dasprintf.c34 f._file = -1; in asprintf()
Dvasprintf.c34 f._file = -1; in vasprintf()
Dfdopen.c69 fp->_file = fd; in fdopen()
Dfseek.c126 fp->_file < 0 || fstat(fp->_file, &st) || in fseeko()
142 if (fstat(fp->_file, &st)) in fseeko()
Dfindfp.c123 fp->_file = -1; /* no file */ in __sfp()
Dvfprintf.c93 fake._file = fp->_file; in __sbprintf()
307 fp->_file >= 0) in vfprintf()
/bionic/libc/include/
Dstdio.h124 short _file; /* fileno, if Unix descriptor, else -1 */ member
407 #define __sfileno(p) ((p)->_file)