Home
last modified time | relevance | path

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

12

/mirbsd/src/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()
Dfseek.c126 fp->_file < 0 || fstat(fp->_file, &st) || in fseeko()
142 if (fstat(fp->_file, &st)) in fseeko()
Dfreopen.c80 if ((wantfd = fp->_file) < 0 && isopen) { in freopen()
140 fp->_file = f; in freopen()
Dvsprintf.c51 f._file = -1; in vsprintf()
Dsprintf.c52 f._file = -1; in sprintf()
Dvsnprintf.c56 f._file = -1; in vsnprintf()
Dfunopen.c61 fp->_file = -1; in funopen()
Dfopen.c56 fp->_file = f; in fopen()
Dsnprintf.c57 f._file = -1; in snprintf()
Dfdopen.c69 fp->_file = fd; in fdopen()
Dvasprintf.c43 f._file = -1; in vasprintf()
Dasprintf.c42 f._file = -1; in asprintf()
Dfindfp.c123 fp->_file = -1; /* no file */ in __sfp()
Dvfprintf.c122 fake._file = fp->_file; in __sbprintf()
353 fp->_file >= 0) in vfprintf()
/mirbsd/src/distrib/common/
Dupgrade.sh82 for _file in fstab hosts myname; do
83 if [ ! -f /mnt/etc/$_file ]; then
84 echo "ERROR: no /mnt/etc/${_file}!"
87 cp /mnt/etc/$_file /tmp/$_file
Dinstall.sub416 typeset _file=$1
418 if [[ -f /mnt/etc/$_file ]]; then
419 grep "^#" /mnt/etc/$_file >/tmp/$_file.new
420 [[ -f /tmp/$_file ]] && cat /tmp/$_file >>/tmp/$_file.new
421 mv /tmp/$_file.new /tmp/$_file
430 typeset _file=$1
432 ask_yn "Edit $_file with $EDITOR?"
433 [[ $resp = y ]] && $EDITOR /tmp/$_file
/mirbsd/src/sys/sys/
Dsiginfo.h159 } _file;
182 #define si_fd _data._file._fd
183 #define si_band _data._file._band
/mirbsd/src/lib/libpthread/uthread/
Duthread_file.c182 if (fp->_file >= 0) { in flockfile()
247 if (fp->_file >= 0) { in ftrylockfile()
298 if (fp->_file >= 0) { in funlockfile()
/mirbsd/src/gnu/usr.sbin/sendmail/include/sm/
Drpool.h143 char *_file,
152 char *_file,
/mirbsd/src/usr.bin/oldroff/inv/
Dinv1.c143 close(fta->_file); in main()
144 fta->_file = fw; in main()
/mirbsd/src/usr.bin/oldroff/hunt/
Dhunt5.c106 fstat (f->_file, &sb);
/mirbsd/src/include/
Dstdio.h126 short _file; /* fileno, if Unix descriptor, else -1 */ member
401 #define __sfileno(p) ((p)->_file)
/mirbsd/src/lib/libz/
Dgzfopen.c88 f->_file = fd; in zf_open()
/mirbsd/src/lib/libncurses/src/ncurses/base/
Dvsscanf.c175 strbuf._file = _NFILE; in vsscanf()

12