Searched refs:_file (Results 1 – 21 of 21) sorted by relevance
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | stdio.c | 49 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()
|
D | makebuf.c | 72 if (couldbetty && isatty(fp->_file)) in __smakebuf() 85 if (fp->_file < 0 || fstat(fp->_file, &st) < 0) { in __swhatbuf()
|
D | vsprintf.c | 52 f._file = -1; in vsprintf()
|
D | vsnprintf.c | 57 f._file = -1; in vsnprintf()
|
D | funopen.c | 61 fp->_file = -1; in funopen()
|
D | vdprintf.c | 63 f._file = -1; in vdprintf()
|
D | freopen.c | 83 if ((wantfd = fp->_file) < 0 && isopen) { in freopen() 152 fp->_file = f; in freopen()
|
D | fseek.c | 130 fp->_file < 0 || fstat(fp->_file, &st) || in fseeko() 146 if (fstat(fp->_file, &st)) in fseeko()
|
D | fdopen.c | 76 fp->_file = fd; in fdopen()
|
D | vasprintf.c | 34 f._file = -1; in vasprintf()
|
D | asprintf.c | 37 f._file = -1; in asprintf()
|
D | vswprintf.c | 56 f._file = -1; in vswprintf()
|
D | vfprintf.c | 129 fake._file = fp->_file; in __sbprintf() 468 fp->_file >= 0) in __vfprintf()
|
D | vfwprintf.c | 107 fake._file = fp->_file; in __sbprintf() 456 fp->_file >= 0) in __vfwprintf()
|
/bionic/libc/stdio/ |
D | sprintf.c | 55 f._file = -1; in sprintf()
|
D | snprintf.c | 59 f._file = -1; in snprintf()
|
D | local.h | 126 #define __sfileno(p) ((p)->_file)
|
D | findfp.c | 143 fp->_file = -1; /* no file */ in __sfp()
|
/bionic/libc/upstream-freebsd/lib/libc/stdio/ |
D | fclose.c | 67 fp->_file = -1; in fclose()
|
D | fopen.c | 79 fp->_file = f; in fopen()
|
/bionic/libc/include/ |
D | stdio.h | 108 int _file; /* fileno, if Unix descriptor, else -1 */ member 111 short _file; /* fileno, if Unix descriptor, else -1 */ member
|