Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/sendmail/libsm/
H A Dstdio.c99 fp->f_file = open(path, oflags,
101 if (fp->f_file < 0)
107 return fp->f_file;
134 ret = read(fp->f_file, buf, n);
161 return write(fp->f_file, buf, n);
188 ret = lseek(fp->f_file, (off_t) offset, whence);
209 return close(fp->f_file);
348 return fp->f_file;
354 if (fstat(fp->f_file, &st) == 0)
365 if (SM_FD_SETSIZE > 0 && fp->f_file >= SM_FD_SETSIZE)
[all …]
H A Dmakebuf.c69 if (couldbetty && isatty(fp->f_file))
101 if (fp->f_file < 0 || fstat(fp->f_file, &st) < 0)
H A Dfseek.c202 fp->f_file < 0 || fstat(fp->f_file, &st) ||
221 if (fstat(fp->f_file, &st))
H A Dfindfp.c184 fp->f_file = -1; /* no file */
418 if (fp->f_file > -1)
419 return fp->f_file;
H A Dvsnprintf.c66 fake.f_file = -1;
H A Dsnprintf.c70 fake.f_file = -1;
H A Dsscanf.c88 fake.f_file = -1;
H A Dvasprintf.c70 fake.f_file = -1;
H A Dvfprintf.c115 fake.f_file = fp->f_file;
323 fp->f_file >= 0)
H A Dsmstdio.c362 fp->f_file = fd;
H A Dstrio.c483 fp->f_file = -1;
/titanic_50/usr/src/cmd/auditreduce/
H A Dmain.c777 char *f_file, *f_nfile, *f_time, *f_name; in rename_outfile() local
787 f_file = f_name = f_outfile; /* their version */ in rename_outfile()
788 while (*f_file) { in rename_outfile()
789 if (*f_file == '/') { /* look for filename */ in rename_outfile()
791 f_name = f_file + 1; in rename_outfile()
793 *f_nfile++ = *f_file++; /* make copy of their version */ in rename_outfile()
/titanic_50/usr/src/cmd/syslogd/
H A Dsyslogd.c1499 (void) close(f->f_file); in logit()
1500 f->f_file = open64(f->f_un.f_fname, in logit()
1502 if (f->f_file < 0) { in logit()
1520 (void) fsync(f->f_file); in logit()
1686 (void) t_close(f->f_file); in logit()
1688 (void) close(f->f_file); in logit()
1846 if (t_sndudata(f->f_file, &ud) < 0) { in writemsg()
1851 (void) t_close(f->f_file); in writemsg()
1939 if (write(f->f_file, filtered, strlen(filtered)) < 0) { in writemsg()
1947 (void) close(f->f_file); in writemsg()
[all …]
H A Dsyslogd.h161 int f_file; /* file descriptor */ member
/titanic_50/usr/src/cmd/sendmail/include/sm/
H A Dio.h114 short f_file; /* fileno, if Unix fd, else -1 */ member
197 (f).f_file = 0; \
/titanic_50/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.c6788 fd = keyf->f_file;