Home
last modified time | relevance | path

Searched refs:f_file (Results 1 – 15 of 15) sorted by relevance

/freebsd-12-stable/contrib/sendmail/libsm/
Dstdio.c97 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 …]
Dmakebuf.c67 if (couldbetty && isatty(fp->f_file))
99 if (fp->f_file < 0 || fstat(fp->f_file, &st) < 0)
Dfseek.c200 fp->f_file < 0 || fstat(fp->f_file, &st) ||
219 if (fstat(fp->f_file, &st))
Dfindfp.c182 fp->f_file = -1; /* no file */
406 if (fp->f_file > -1)
407 return fp->f_file;
Dvsnprintf.c64 fake.f_file = -1;
Dsnprintf.c68 fake.f_file = -1;
Dsscanf.c86 fake.f_file = -1;
Dvasprintf.c68 fake.f_file = -1;
Dvfprintf.c113 fake.f_file = fp->f_file;
321 fp->f_file >= 0)
Dsmstdio.c360 fp->f_file = fd;
Dstrio.c481 fp->f_file = -1;
/freebsd-12-stable/usr.sbin/syslogd/
Dsyslogd.c258 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/
Dio.h112 short f_file; /* fileno, if Unix fd, else -1 */ member
195 (f).f_file = 0; \
/freebsd-12-stable/contrib/sendmail/src/
Dsfsasl.c69 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);
Dqueue.c7011 fd = keyf->f_file;