Searched refs:f_file (Results 1 – 15 of 15) sorted by relevance
| /freebsd-12-stable/contrib/sendmail/libsm/ |
| D | stdio.c | 97 fp->f_file = open(path, oflags, 99 if (fp->f_file < 0) 105 return fp->f_file; 132 ret = read(fp->f_file, buf, n); 159 return write(fp->f_file, buf, n); 186 ret = lseek(fp->f_file, (off_t) offset, whence); 207 return close(fp->f_file); 346 return fp->f_file; 352 if (fstat(fp->f_file, &st) == 0) 363 if (SM_FD_SETSIZE > 0 && fp->f_file >= SM_FD_SETSIZE) [all …]
|
| D | makebuf.c | 67 if (couldbetty && isatty(fp->f_file)) 99 if (fp->f_file < 0 || fstat(fp->f_file, &st) < 0)
|
| D | fseek.c | 200 fp->f_file < 0 || fstat(fp->f_file, &st) || 219 if (fstat(fp->f_file, &st))
|
| D | findfp.c | 182 fp->f_file = -1; /* no file */ 406 if (fp->f_file > -1) 407 return fp->f_file;
|
| D | vsnprintf.c | 64 fake.f_file = -1;
|
| D | snprintf.c | 68 fake.f_file = -1;
|
| D | sscanf.c | 86 fake.f_file = -1;
|
| D | vasprintf.c | 68 fake.f_file = -1;
|
| D | vfprintf.c | 113 fake.f_file = fp->f_file; 321 fp->f_file >= 0)
|
| D | smstdio.c | 360 fp->f_file = fd;
|
| D | strio.c | 481 fp->f_file = -1;
|
| /freebsd-12-stable/usr.sbin/syslogd/ |
| D | syslogd.c | 258 short f_file; /* file descriptor */ member 462 if (f == NULL || f->f_file == -1) in close_filed() 482 (void)close(f->f_file); in close_filed() 483 f->f_file = -1; in close_filed() 1569 f->f_file = open(ctty, O_WRONLY | O_NONBLOCK, 0); in logmsg() 1571 if (f->f_file >= 0) { in logmsg() 1575 close(f->f_file); in logmsg() 1576 f->f_file = -1; in logmsg() 1691 (void)fsync(f->f_file); in dofsync() 1836 if (writev(f->f_file, il->iov, il->iovcnt) < 0) { in fprintlog_write() [all …]
|
| /freebsd-12-stable/contrib/sendmail/include/sm/ |
| D | io.h | 112 short f_file; /* fileno, if Unix fd, else -1 */ member 195 (f).f_file = 0; \
|
| /freebsd-12-stable/contrib/sendmail/src/ |
| D | sfsasl.c | 69 return so->fp->f_file; /* for stdio fileno() compatibility */ 461 return so->fp->f_file; /* for stdio fileno() compatibility */ 516 fp->f_file = sm_io_getinfo(so->fp, SM_IO_WHAT_FD, NULL);
|
| D | queue.c | 7011 fd = keyf->f_file;
|