Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/sendmail/libsm/
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);
207 return close(fp->f_file);
346 return fp->f_file;
352 if (fstat(fp->f_file, &st) == 0)
447 fp->f_file = fd;
450 return fp->f_file;
[all …]
H A Dmakebuf.c67 if (couldbetty && isatty(fp->f_file))
99 if (fp->f_file < 0 || fstat(fp->f_file, &st) < 0)
H A Dfseek.c200 fp->f_file < 0 || fstat(fp->f_file, &st) ||
219 if (fstat(fp->f_file, &st))
H A Dfindfp.c182 fp->f_file = -1; /* no file */
416 if (fp->f_file > -1)
417 return fp->f_file;
H A Dvsnprintf.c64 fake.f_file = -1;
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 Dvfprintf.c113 fake.f_file = fp->f_file;
321 fp->f_file >= 0)
H A Dsmstdio.c360 fp->f_file = fd;
H A Dstrio.c481 fp->f_file = -1;
/illumos-gate/usr/src/cmd/auditreduce/
H A Dmain.c787 char *f_file, *f_nfile, *f_time, *f_name; in rename_outfile() local
797 f_file = f_name = f_outfile; /* their version */ in rename_outfile()
798 while (*f_file) { in rename_outfile()
799 if (*f_file == '/') { /* look for filename */ in rename_outfile()
801 f_name = f_file + 1; in rename_outfile()
803 *f_nfile++ = *f_file++; /* make copy of their version */ in rename_outfile()
/illumos-gate/usr/src/cmd/syslogd/
H A Dsyslogd.c1486 (void) close(f->f_file); in logit()
1489 if (f->f_file < 0) { in logit()
1507 (void) fsync(f->f_file); in logit()
1675 (void) close(f->f_file); in logit()
1934 (void) close(f->f_file); in writemsg()
1942 if (f->f_file < 0) { in writemsg()
1956 (void) fsync(f->f_file); in writemsg()
3502 if (f->f_file < 0) { in cfline()
3522 if (isatty(f->f_file)) { in cfline()
3961 if (f->f_file < 0) { in logforward()
[all …]
H A Dsyslogd.h155 int f_file; /* file descriptor */ member
/illumos-gate/usr/src/cmd/sendmail/include/sm/
H A Dio.h112 short f_file; /* fileno, if Unix fd, else -1 */ member
195 (f).f_file = 0; \
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dsfsasl.c68 return so->fp->f_file; /* for stdio fileno() compatability */
463 return so->fp->f_file; /* for stdio fileno() compatability */
518 fp->f_file = sm_io_getinfo(so->fp, SM_IO_WHAT_FD, NULL);
H A Dqueue.c6789 fd = keyf->f_file;