Searched refs:fileno (Results 176 - 200 of 302) sorted by relevance

1234567891011>>

/freebsd-9.3-release/contrib/ntp/sntp/libopts/
H A Dmakeshell.c771 if ((fstat(fileno(fp), &stbf) != 0) || (! S_ISREG(stbf.st_mode)))
/freebsd-9.3-release/sys/kern/
H A Dvfs_default.c772 ino_t fileno; local
818 fileno = va.va_fileid;
840 (dp->d_fileno == fileno)) {
/freebsd-9.3-release/usr.sbin/pwd_mkdb/
H A Dpwd_mkdb.c195 if (flock(fileno(fp), LOCK_EX|nblock) < 0 && !(dflag && iflag))
197 if (fstat(fileno(fp), &st) < 0)
605 (void)fchmod(fileno(fp), S_IRUSR|S_IWUSR);
/freebsd-9.3-release/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_cc.c1898 if (isatty(fileno(ifp)) == 0 && (off = ftello64(ifp)) != -1) {
1912 (void) snprintf(ipath, sizeof (ipath), "/dev/fd/%d", fileno(ifp));
1913 (void) snprintf(opath, sizeof (opath), "/dev/fd/%d", fileno(ofp));
1965 if (isatty(fileno(ifp)) == 0)
1966 lseek(fileno(ifp), off, SEEK_SET);
1967 dup2(fileno(ifp), 0);
1968 dup2(fileno(ofp), 1);
/freebsd-9.3-release/contrib/tnftp/src/
H A Dfetch.c584 if (fstat(fileno(fin), &sb) == 0) {
589 if (lseek(fileno(fin), restart_point, SEEK_SET) < 0) {
1360 write(fileno(ttyout), msgbuf, len);
/freebsd-9.3-release/gnu/usr.bin/rcs/lib/
H A Drcsedit.c1600 if (fstat(fileno(*fromp), &st) != 0)
1618 if (0<set_mode && fchmod(fileno(*fromp),mode_while_renaming) == 0)
1957 VOID close(fileno(frewrite));
/freebsd-9.3-release/contrib/gcc/
H A Dgcov-io.c532 if (fstat (fileno (gcov_var.file), &status))
H A Dggc-common.c468 mmi.preferred_base = host_hooks.gt_pch_get_address (mmi.size, fileno (f));
579 fileno (f), mmi.offset);
/freebsd-9.3-release/contrib/gcclibs/libmudflap/
H A Dmf-hooks2.c626 bufmode = fileno (f) == 2 ? _IONBF : (isatty (fileno (f)) ? _IOLBF : _IOFBF);
991 WRAPPER2(int, fileno, FILE *stream)
995 "fileno stream");
996 return fileno (stream);
/freebsd-9.3-release/contrib/gdb/gdb/
H A Devent-top.c1154 input_fd = fileno (instream);
/freebsd-9.3-release/contrib/gnu-sort/src/
H A Dsystem.h235 # define fileno(_fp) _fileno (_fp) macro
/freebsd-9.3-release/contrib/groff/src/devices/grolbp/
H A Dlbp.cpp155 SET_BINARY(fileno(stdout));
/freebsd-9.3-release/contrib/groff/src/devices/grolj4/
H A Dlj4.cpp692 SET_BINARY(fileno(stdout));
/freebsd-9.3-release/contrib/libpcap/
H A Dsf-pcap.c79 #define SET_BINMODE(f) setmode(fileno(f), O_BINARY)
/freebsd-9.3-release/libexec/atrun/
H A Datrun.c202 if ((fd_in = dup(fileno(stream))) <0)
/freebsd-9.3-release/libexec/ypxfr/
H A Dypxfr_main.c179 if (!isatty(fileno(stderr))) {
/freebsd-9.3-release/sys/fs/nfs/
H A Dnfs_commonport.c420 nfsv4root_getreferral(struct vnode *vp, struct vnode *dvp, u_int32_t fileno) argument
/freebsd-9.3-release/usr.bin/grep/
H A Dgrep.c309 if ((fstat(fileno(f), &st) == -1) || (S_ISDIR(st.st_mode))) {
/freebsd-9.3-release/usr.bin/mail/
H A Dsend.c404 prepare_child(&nset, fileno(mtf), -1);
/freebsd-9.3-release/usr.bin/vgrind/
H A Dvfontedpr.c307 fstat(fileno(stdin), &stbuf);
/freebsd-9.3-release/contrib/lukemftpd/src/
H A Dftpd.c709 if (fcntl(fileno(stdin), F_SETOWN, getpid()) == -1)
1707 && (fstat(fileno(fin), &st) < 0 || !S_ISREG(st.st_mode))) {
1726 } else if (lseek(fileno(fin), restart_point, SEEK_SET) < 0) {
1843 } else if (lseek(fileno(fout), restart_point, SEEK_SET) < 0) {
2012 data = fileno(file);
2264 filefd = fileno(instr);
2265 netfd = fileno(outstr);
2357 netfd = fileno(instr);
2358 filefd = fileno(outstr);
/freebsd-9.3-release/contrib/less/
H A Dcmdbuf.c1516 int r = fstat(fileno(f), &statbuf);
1522 fchmod(fileno(f), 0600);
/freebsd-9.3-release/contrib/netcat/
H A Dnetcat.c800 int n, wfd = fileno(stdin);
801 int lfd = fileno(stdout);
/freebsd-9.3-release/contrib/texinfo/info/
H A Decho-area.c1496 FD_SET (fileno (stdin), &readfds);
1499 ready = select (fileno (stdin) + 1, &readfds, (fd_set *) NULL,
/freebsd-9.3-release/gnu/usr.bin/rcs/rcs/
H A Drcs.c1063 status = run(fileno(mailmess), (char*)0, SENDMAIL, who, (char*)0);
1552 switch (runv(fileno(fcut), diffname, diffv)) {

Completed in 267 milliseconds

1234567891011>>