Home
last modified time | relevance | path

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

/bionic/libc/upstream-openbsd/lib/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()
Dvsnprintf.c57 f._file = -1; in vsnprintf()
Dfunopen.c61 fp->_file = -1; in funopen()
Dvdprintf.c63 f._file = -1; in vdprintf()
Dfreopen.c83 if ((wantfd = fp->_file) < 0 && isopen) { in freopen()
152 fp->_file = f; in freopen()
Dfseek.c130 fp->_file < 0 || fstat(fp->_file, &st) || in fseeko()
146 if (fstat(fp->_file, &st)) in fseeko()
Dfdopen.c76 fp->_file = fd; in fdopen()
Dvasprintf.c34 f._file = -1; in vasprintf()
Dasprintf.c37 f._file = -1; in asprintf()
Dvswprintf.c56 f._file = -1; in vswprintf()
Dvfprintf.c129 fake._file = fp->_file; in __sbprintf()
468 fp->_file >= 0) in __vfprintf()
Dvfwprintf.c107 fake._file = fp->_file; in __sbprintf()
456 fp->_file >= 0) in __vfwprintf()
/bionic/libc/stdio/
Dsprintf.c55 f._file = -1; in sprintf()
Dsnprintf.c59 f._file = -1; in snprintf()
Dlocal.h126 #define __sfileno(p) ((p)->_file)
Dfindfp.c143 fp->_file = -1; /* no file */ in __sfp()
/bionic/libc/upstream-freebsd/lib/libc/stdio/
Dfclose.c67 fp->_file = -1; in fclose()
Dfopen.c79 fp->_file = f; in fopen()
/bionic/libc/include/
Dstdio.h108 int _file; /* fileno, if Unix descriptor, else -1 */ member
111 short _file; /* fileno, if Unix descriptor, else -1 */ member