Searched refs:f_file (Results 1 - 15 of 15) sorted by path

/freebsd-11-stable/contrib/sendmail/libsm/
H A Dfseek.c200 fp->f_file < 0 || fstat(fp->f_file, &st) ||
219 if (fstat(fp->f_file, &st))
H A Dsmstdio.c360 fp->f_file = fd;
H A Dsnprintf.c68 fake.f_file = -1;
H A Dsscanf.c86 fake.f_file = -1;
H A Dvasprintf.c68 fake.f_file = -1;
H A Dvsnprintf.c64 fake.f_file = -1;
H A Dfindfp.c182 fp->f_file = -1; /* no file */
406 if (fp->f_file > -1)
407 return fp->f_file;
H A Dmakebuf.c67 if (couldbetty && isatty(fp->f_file))
99 if (fp->f_file < 0 || fstat(fp->f_file, &st) < 0)
H A 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 >
[all...]
H A Dstrio.c481 fp->f_file = -1;
H A Dvfprintf.c113 fake.f_file = fp->f_file;
321 fp->f_file >= 0)
/freebsd-11-stable/contrib/sendmail/include/sm/
H A Dio.h112 short f_file; /* fileno, if Unix fd, else -1 */ member in struct:sm_file
195 (f).f_file = 0; \
/freebsd-11-stable/contrib/sendmail/src/
H A Dqueue.c6983 fd = keyf->f_file;
H A Dsfsasl.c69 return so->fp->f_file; /* for stdio fileno() compatibility */
465 return so->fp->f_file; /* for stdio fileno() compatibility */
520 fp->f_file = sm_io_getinfo(so->fp, SM_IO_WHAT_FD, NULL);
/freebsd-11-stable/usr.sbin/syslogd/
H A Dsyslogd.c249 * We require f_file to be valid if f_type is F_FILE, F_CONSOLE, F_TTY
256 short f_file; /* file descriptor */ member in struct:filed
460 if (f == NULL || f->f_file == -1)
480 (void)close(f->f_file);
481 f->f_file = -1;
1574 f->f_file = open(ctty, O_WRONLY | O_NONBLOCK, 0);
1576 if (f->f_file >= 0) {
1580 close(f->f_file);
1581 f->f_file = -1;
1696 (void)fsync(f->f_file);
[all...]

Completed in 138 milliseconds