/netbsd-current/sys/fs/msdosfs/ |
H A D | msdosfs_vnops.c | 964 ino_t fileno; local 1146 fileno = getushort(dentp->deStartCluster); 1148 fileno |= ((ino_t)getushort(dentp->deHighClust)) << 16; 1150 if (fileno == MSDOSFSROOT) 1152 fileno = cntobn(pmp, 1156 fileno = 1; 1158 fileno = cntobn(pmp, fileno) * dirsperblk; 1159 dirbuf->d_fileno = fileno;
|
/netbsd-current/lib/libc/gen/ |
H A D | utmpx.c | 134 if (fstat(fileno(fp), &st) == -1) 273 if (lockf(fileno(fp), F_LOCK, (off_t)0) == -1) 298 if (lockf(fileno(fp), F_ULOCK, (off_t)0) == -1)
|
/netbsd-current/usr.bin/mail/ |
H A D | quit.c | 313 if (flock(fileno(fbuf), LOCK_EX) == -1) { 322 if (fstat(fileno(fbuf), &minfo) >= 0 && minfo.st_size > mailsize) { 481 (void)fchmod(fileno(obuf), 0600);
|
H A D | collect.c | 182 NULL, fileno(fp), fileno(nf), "-c", cmd, NULL) < 0) { 648 rc2 = run_command(shellcmd, NULL, nullfd, fileno(fbuf), "-c", cp + 1, NULL);
|
H A D | edit.c | 100 if (fstat(fileno(nf), &statb) < 0)
|
/netbsd-current/sys/kern/ |
H A D | vfs_getcwd.c | 101 ino_t fileno; local 148 fileno = va.va_fileid; 224 (dp->d_fileno == fileno)) {
|
/netbsd-current/external/bsd/am-utils/dist/amd/ |
H A D | info_file.c | 202 if (fstat(fileno(mapf), &stb) < 0)
|
/netbsd-current/external/bsd/am-utils/dist/conf/mtab/ |
H A D | mtab_svr4.c | 281 ftruncate(fileno(fp), ftell(fp));
|
/netbsd-current/external/bsd/kyua-testers/dist/ |
H A D | stacktrace.c | 132 const int output_fd = fileno(output);
|
/netbsd-current/external/public-domain/xz/dist/src/lzmainfo/ |
H A D | lzmainfo.c | 180 setmode(fileno(stdin), O_BINARY);
|
/netbsd-current/usr.bin/tail/ |
H A D | reverse.c | 124 MAP_FILE|MAP_SHARED, fileno(fp), (off_t)0)) == MAP_FAILED) {
|
/netbsd-current/usr.bin/lastcomm/ |
H A D | lastcomm.c | 103 if ((fp = fopen(acctfile, "r")) == NULL || fstat(fileno(fp), &sb))
|
/netbsd-current/usr.sbin/timed/timedc/ |
H A D | timedc.c | 99 fromatty = isatty(fileno(stdin));
|
/netbsd-current/external/gpl3/gdb.old/dist/zlib/examples/ |
H A D | zpipe.c | 23 # define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY)
|
/netbsd-current/external/gpl3/binutils/dist/zlib/examples/ |
H A D | zpipe.c | 23 # define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY)
|
/netbsd-current/external/gpl2/groff/dist/src/utils/pfbtops/ |
H A D | pfbtops.c | 204 SET_BINARY(fileno(stdin));
|
/netbsd-current/external/gpl3/gdb/dist/zlib/examples/ |
H A D | zpipe.c | 23 # define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY)
|
/netbsd-current/usr.sbin/autofs/ |
H A D | popen.c | 131 close(fileno(p->outfp));
|
/netbsd-current/external/gpl3/binutils.old/dist/zlib/examples/ |
H A D | zpipe.c | 23 # define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY)
|
/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/fuzzer/ |
H A D | FuzzerIOPosix.cpp | 106 dup2(fileno(Temp), Fd);
|
/netbsd-current/common/dist/zlib/examples/ |
H A D | zpipe.c | 23 # define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY)
|
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/roken/ |
H A D | iruserok.c | 268 else if (fstat(fileno(hostf), &sbuf) < 0)
|
/netbsd-current/external/bsd/cron/dist/ |
H A D | crontab.c | 385 if (fstat(fileno(f), &statbuf) < 0) { 600 if (fstat(fileno(fp), &statbuf)) { 727 (void)ftruncate(fileno(tmp), ftell(tmp)); 776 error = fchown(fileno(tmp), file_owner, (uid_t)-1);
|
/netbsd-current/crypto/external/cpl/tpm-tools/dist/src/tpm_mgmt/ |
H A D | tpm_version.c | 51 if (0 > dup2(fileno(f), STDERR_FILENO)) {
|
/netbsd-current/usr.bin/msgs/ |
H A D | msgs.c | 364 if (isatty(fileno(stdin))) { 407 totty = (isatty(fileno(stdout)) != 0); 458 if (ioctl(fileno(stdout), TIOCGWINSZ, &win) != -1) 674 tcdrain(fileno(stdout));
|