Searched refs:fileno (Results 76 - 100 of 300) sorted by relevance

1234567891011>>

/freebsd-11-stable/sys/fs/msdosfs/
H A Dmsdosfs_vnops.c1475 uint64_t fileno; local
1547 fileno = (uint64_t)cntobn(pmp,
1551 fileno = 1;
1555 fileno);
1558 dirbuf.d_fileno = (uint32_t)fileno;
1666 fileno = getushort(dentp->deStartCluster);
1668 fileno |= getushort(dentp->deHighClust) << 16;
1670 if (fileno == MSDOSFSROOT)
1672 fileno = (uint64_t)cntobn(pmp,
1676 fileno
[all...]
/freebsd-11-stable/contrib/ncurses/ncurses/tinfo/
H A Dlib_tputs.c162 if (write(fileno(NC_OUTPUT(SP_PARM)), &tmp, (size_t) 1) == -1)
167 if (write(fileno(stdout), &tmp, (size_t) 1) == -1)
/freebsd-11-stable/contrib/flex/
H A Dfilter.c173 if (dup2 (pipes[0], fileno (stdin)) == -1)
198 if (dup2 (pipes[1], fileno (stdout)) == -1)
/freebsd-11-stable/contrib/binutils/bfd/
H A Dcache.c291 nread = read (fileno (f), buf, nbytes);
356 sts = fstat (fileno (f), sb);
/freebsd-11-stable/crypto/heimdal/appl/ftp/ftp/
H A Druserpass.c176 fstat(fileno(cfile), &stb) >= 0 &&
187 if (fstat(fileno(cfile), &stb) >= 0
/freebsd-11-stable/sbin/dump/
H A Ditime.c96 (void) flock(fileno(df), LOCK_SH);
173 fd = fileno(df);
/freebsd-11-stable/contrib/tnftp/src/
H A Druserpass.c163 fstat(fileno(cfile), &stb) >= 0 &&
175 if (fstat(fileno(cfile), &stb) >= 0
/freebsd-11-stable/contrib/nvi/ex/
H A Dex_read.c255 if ((fp = fopen(name, "r")) == NULL || fstat(fileno(fp), &sb)) {
267 if (file_lock(sp, NULL, fileno(fp), 0) == LOCK_UNAVAIL)
H A Dex_write.c351 if (!fstat(fileno(fp), &sb) &&
352 S_ISREG(sb.st_mode) && fsync(fileno(fp)))
/freebsd-11-stable/usr.bin/chpass/
H A Dedit.c193 (void)fchown(fileno(fp), getuid(), getgid());
212 fstat(fileno(fp), &sb) == -1) {
/freebsd-11-stable/contrib/gcclibs/libcpp/
H A Dsystem.h97 # undef fileno macro
98 # define fileno(Stream) fileno_unlocked (Stream) macro
/freebsd-11-stable/contrib/ofed/opensm/opensm/
H A Dosm_console_io.c193 p_oct->in_fd = fileno(stdin);
194 p_oct->out_fd = fileno(stdout);
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/profile/
H A DInstrProfilingUtil.c180 fd = fileno(F);
190 fd = fileno(F);
/freebsd-11-stable/contrib/nvi/common/
H A Drecover.c537 switch (file_lock(sp, NULL, fileno(fp), 1)) {
590 (void)fstat(fileno(fp), &sb);
656 switch (file_lock(sp, NULL, fileno(fp), 1)) {
718 (void)fstat(fileno(fp), &sb);
732 sv_fd = dup(fileno(fp));
/freebsd-11-stable/contrib/telnet/telnet/
H A Dsys_bsd.c126 tout = fileno(stdout);
127 tin = fileno(stdin);
222 (void) ioctl(fileno(stdout), TIOCFLUSH, (char *) 0);
224 (void) ioctl(fileno(stdout), TCFLSH, (char *) 0);
717 if (ioctl(fileno(stdin), TIOCGWINSZ, (char *)&ws) >= 0) {
/freebsd-11-stable/contrib/opie/
H A Dopieftpd.c687 (fstat(fileno(fin), &st) < 0 || (st.st_mode & S_IFMT) != S_IFREG)) {
706 if (lseek(fileno(fin), restart_point, SEEK_SET /* L_SET */ ) < 0) {
765 if (lseek(fileno(fout), restart_point, SEEK_SET /* L_SET */ ) < 0) {
890 data = fileno(file);
955 netfd = fileno(outstr);
956 filefd = fileno(instr);
1008 while ((cnt = read(fileno(instr), buf, sizeof buf)) > 0) {
1009 if (write(fileno(outstr), buf, cnt) != cnt)
1667 if (fcntl(fileno(stdin), F_SETOWN, getpid()) == -1)
/freebsd-11-stable/contrib/bzip2/
H A Dbzip2.c107 int retVal = setmode ( fileno ( fd ), \
119 int retVal = setmode ( fileno ( fd ), \
148 int retVal = setmode ( fileno ( fd ), \
369 Int32 fd = fileno ( zStream );
485 Int32 fd = fileno ( stream );
1230 if ( isatty ( fileno ( stdout ) ) ) {
1244 if ( isatty ( fileno ( stdout ) ) ) {
1416 if ( isatty ( fileno ( stdin ) ) ) {
1557 if ( isatty ( fileno ( stdin ) ) ) {
/freebsd-11-stable/contrib/dialog/
H A Dui_getc.c193 if (p->input != 0 && (fd = fileno(p->input)) >= 0) {
211 && (fd = fileno(p->input)) >= 0
324 int fd = fileno(fp);
/freebsd-11-stable/usr.bin/mail/
H A Dlex.c86 if (fstat(fileno(ibuf), &stb) < 0) {
134 (void)fcntl(fileno(otf), F_SETFD, 1);
137 (void)fcntl(fileno(itf), F_SETFD, 1);
H A Dquit.c106 (void)flock(fileno(fbuf), LOCK_EX);
108 if (fstat(fileno(fbuf), &minfo) >= 0 && minfo.st_size > mailsize) {
246 (void)fchmod(fileno(obuf), 0600);
H A Dcollect.c359 rc = run_command(sh, 0, nullfd, fileno(fbuf),
582 0, fileno(fp), fileno(nf), "-c", cmd, NULL) < 0) {
/freebsd-11-stable/crypto/openssl/crypto/ui/
H A Dui_openssl.c124 * sigaction and fileno included. -pedantic would be more appropriate for the
497 if (TTY_get(fileno(tty_in), &tty_orig) == -1) {
567 if (is_a_tty && (TTY_set(fileno(tty_in), &tty_new) == -1))
588 if (is_a_tty && (TTY_set(fileno(tty_in), &tty_new) == -1))
/freebsd-11-stable/usr.sbin/cron/crontab/
H A Dcrontab.c540 ftruncate(fileno(tmp), ftello(tmp));
580 if (fchown(fileno(tmp), ROOT_UID, -1) < OK)
591 if (fchmod(fileno(tmp), 0600) < OK)
/freebsd-11-stable/include/
H A Dstdio.h127 short _file; /* (*) fileno, if Unix descriptor, else -1 */
322 int fileno(FILE *);
536 #define fileno(p) (!__isthreaded ? __sfileno(p) : (fileno)(p)) macro
/freebsd-11-stable/contrib/groff/src/utils/pfbtops/
H A Dpfbtops.c202 SET_BINARY(fileno(stdin));

Completed in 338 milliseconds

1234567891011>>