Home
last modified time | relevance | path

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

12

/original-bsd/lib/libc/stdio/
H A Dstdio.c32 ret = read(fp->_file, buf, n);
49 (void) lseek(fp->_file, (off_t)0, SEEK_END);
51 return (write(fp->_file, buf, n));
63 ret = lseek(fp->_file, (off_t)offset, whence);
77 return (close(((FILE *)cookie)->_file));
H A Dmakebuf.c54 if (couldbetty && isatty(fp->_file))
70 if (fp->_file < 0 || fstat(fp->_file, &st) < 0) {
H A Dfseek.c109 fp->_file < 0 || fstat(fp->_file, &st) ||
125 if (fstat(fp->_file, &st))
H A Dfreopen.c63 if ((wantfd = fp->_file) < 0 && isopen) {
122 fp->_file = f;
H A Dfopen.c39 fp->_file = f;
H A Dfunopen.c48 fp->_file = -1;
H A Dfdopen.c56 fp->_file = fd;
H A Dfindfp.c91 fp->_file = -1; /* no file */ in __sfp()
H A Dvfprintf.c78 fake._file = fp->_file;
349 fp->_file >= 0)
/original-bsd/old/pcc/ccom.vax/VMS/
H A Dstdio.h13 char _file; member
44 #define fileno(p) p->_file
/original-bsd/old/as.vax/
H A Dasscanl.h93 write(ioptr->_file, pointer, nelements * size) != nelements * size
96 read(ioptr->_file, pointer, nelements * size) != nelements * size
H A Dasmain.c507 biofd = a_out_file->_file; in open_a_out()
672 if (lseek(a_out_file->_file, 0L, 0) < 0L) in fix_a_out()
674 if (write(a_out_file->_file, (char *)&hdr, sizeof (struct exec)) < 0) in fix_a_out()
/original-bsd/old/as.tahoe/
H A Dasscanl.h89 write(ioptr->_file, pointer, nelements * size) != nelements * size
92 read(ioptr->_file, pointer, nelements * size) != nelements * size
H A Dasmain.c482 biofd = a_out_file->_file; in open_a_out()
664 if (lseek(a_out_file->_file, 0L, 0) < 0L) in fix_a_out()
666 if (write(a_out_file->_file, (char *)&hdr, sizeof (struct exec)) < 0) in fix_a_out()
/original-bsd/old/refer/inv/
H A Dinv1.c103 close(fta->_file);
104 fta->_file = fw;
/original-bsd/sys/vax/vax/
H A Dsymbols.raw34 _file
/original-bsd/sys/tahoe/tahoe/
H A Dsymbols.raw34 _file
/original-bsd/old/refer/hunt/
H A Dhunt5.c66 fstat (f->_file, &sb);
/original-bsd/usr.bin/mail/
H A Dcc.local.c122 iop->_file = fd;
H A Ding.local.c145 iop->_file = fd;
/original-bsd/local/toolchest/ksh/sh/
H A Dio.c112 fd->_file = F_STRING;
177 iop->_file = fd;
285 fd->_file = fno;
560 (file_fd(dupfd))->_file = dupfd;
H A Dio.h133 #define _file _fd macro
H A Deditlib.c161 fd->_file = fb;
/original-bsd/include/
H A Dstdio.h96 short _file; /* fileno, if Unix descriptor, else -1 */ member
335 #define __sfileno(p) ((p)->_file)
/original-bsd/old/refer/NOTUSED/whatabout/
H A Dwhat3.c61 fmv (fpc[RD], ansf->_file);

12