Searched refs:_file (Results 1 – 16 of 16) sorted by relevance
/bionic/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 | sprintf.c | 54 f._file = -1; in sprintf()
|
D | vsnprintf.c | 57 f._file = -1; in vsnprintf()
|
D | funopen.c | 61 fp->_file = -1; in funopen()
|
D | snprintf.c | 58 f._file = -1; in snprintf()
|
D | fopen.c | 57 fp->_file = f; in fopen()
|
D | freopen.c | 80 if ((wantfd = fp->_file) < 0 && isopen) { in freopen() 140 fp->_file = f; in freopen()
|
D | asprintf.c | 34 f._file = -1; in asprintf()
|
D | vasprintf.c | 34 f._file = -1; in vasprintf()
|
D | fdopen.c | 69 fp->_file = fd; in fdopen()
|
D | fseek.c | 126 fp->_file < 0 || fstat(fp->_file, &st) || in fseeko() 142 if (fstat(fp->_file, &st)) in fseeko()
|
D | findfp.c | 123 fp->_file = -1; /* no file */ in __sfp()
|
D | vfprintf.c | 93 fake._file = fp->_file; in __sbprintf() 307 fp->_file >= 0) in vfprintf()
|
/bionic/libc/include/ |
D | stdio.h | 124 short _file; /* fileno, if Unix descriptor, else -1 */ member 407 #define __sfileno(p) ((p)->_file)
|