/freebsd-11-stable/sys/fs/msdosfs/ |
H A D | msdosfs_vnops.c | 1475 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 D | lib_tputs.c | 162 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 D | filter.c | 173 if (dup2 (pipes[0], fileno (stdin)) == -1) 198 if (dup2 (pipes[1], fileno (stdout)) == -1)
|
/freebsd-11-stable/contrib/binutils/bfd/ |
H A D | cache.c | 291 nread = read (fileno (f), buf, nbytes); 356 sts = fstat (fileno (f), sb);
|
/freebsd-11-stable/crypto/heimdal/appl/ftp/ftp/ |
H A D | ruserpass.c | 176 fstat(fileno(cfile), &stb) >= 0 && 187 if (fstat(fileno(cfile), &stb) >= 0
|
/freebsd-11-stable/sbin/dump/ |
H A D | itime.c | 96 (void) flock(fileno(df), LOCK_SH); 173 fd = fileno(df);
|
/freebsd-11-stable/contrib/tnftp/src/ |
H A D | ruserpass.c | 163 fstat(fileno(cfile), &stb) >= 0 && 175 if (fstat(fileno(cfile), &stb) >= 0
|
/freebsd-11-stable/contrib/nvi/ex/ |
H A D | ex_read.c | 255 if ((fp = fopen(name, "r")) == NULL || fstat(fileno(fp), &sb)) { 267 if (file_lock(sp, NULL, fileno(fp), 0) == LOCK_UNAVAIL)
|
H A D | ex_write.c | 351 if (!fstat(fileno(fp), &sb) && 352 S_ISREG(sb.st_mode) && fsync(fileno(fp)))
|
/freebsd-11-stable/usr.bin/chpass/ |
H A D | edit.c | 193 (void)fchown(fileno(fp), getuid(), getgid()); 212 fstat(fileno(fp), &sb) == -1) {
|
/freebsd-11-stable/contrib/gcclibs/libcpp/ |
H A D | system.h | 97 # undef fileno macro 98 # define fileno(Stream) fileno_unlocked (Stream) macro
|
/freebsd-11-stable/contrib/ofed/opensm/opensm/ |
H A D | osm_console_io.c | 193 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 D | InstrProfilingUtil.c | 180 fd = fileno(F); 190 fd = fileno(F);
|
/freebsd-11-stable/contrib/nvi/common/ |
H A D | recover.c | 537 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 D | sys_bsd.c | 126 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 D | opieftpd.c | 687 (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 D | bzip2.c | 107 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 D | ui_getc.c | 193 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 D | lex.c | 86 if (fstat(fileno(ibuf), &stb) < 0) { 134 (void)fcntl(fileno(otf), F_SETFD, 1); 137 (void)fcntl(fileno(itf), F_SETFD, 1);
|
H A D | quit.c | 106 (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 D | collect.c | 359 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 D | ui_openssl.c | 124 * 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 D | crontab.c | 540 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 D | stdio.h | 127 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 D | pfbtops.c | 202 SET_BINARY(fileno(stdin));
|