/openbsd-current/games/sail/ |
H A D | sync.c | 215 if (flock(fileno(sync_fp), LOCK_EX|LOCK_NB) >= 0) 289 (void) flock(fileno(sync_fp), LOCK_UN);
|
/openbsd-current/usr.bin/calendar/ |
H A D | io.c | 394 if (fstat(fileno(fp), &sbuf) || !sbuf.st_size) 421 while ((nread = read(fileno(fp), buf, sizeof(buf))) > 0)
|
/openbsd-current/usr.bin/mail/ |
H A D | send.c | 71 dovis = isatty(fileno(obuf)); 418 prepare_child(&nset, fileno(mtf), -1);
|
H A D | edit.c | 175 if (fstat(fileno(nf), &statb) == -1)
|
/openbsd-current/usr.sbin/cron/ |
H A D | crontab.c | 276 if (fstat(fileno(f), &statbuf) == -1) { 468 ftruncate(fileno(tmp), ftello(tmp)); /* XXX redundant with "w+"? */
|
H A D | database.c | 199 if (fstat(fileno(crontab_fp), statbuf) == -1) {
|
/openbsd-current/usr.bin/rcs/ |
H A D | rcsutil.c | 59 if (fstat(fileno(file->rf_file), &st) == -1) { 82 if (futimens(fileno(file->rf_file), ts) == -1)
|
/openbsd-current/games/boggle/boggle/ |
H A D | mach.c | 303 (void) tcflush(fileno(fp), TCIFLUSH); 663 (void) ioctl(fileno(stdout), TIOCGWINSZ, &win);
|
/openbsd-current/gnu/llvm/lldb/tools/lldb-vscode/ |
H A D | VSCode.cpp | 51 int result = _setmode(fileno(stdout), _O_BINARY); 53 result = _setmode(fileno(stdin), _O_BINARY);
|
/openbsd-current/sys/msdosfs/ |
H A D | msdosfs_vnops.c | 243 * We now use the starting cluster number as the fileid/fileno. 1419 uint32_t fileno; local 1584 fileno = getushort(dentp->deStartCluster); 1586 fileno |= getushort(dentp->deHighClust) << 16; 1590 if (fileno == MSDOSFSROOT) { 1591 fileno = FAT32(pmp) ? 1595 dirbuf.d_fileno = fileno; 1608 fileno = fileidhash(fileno64); 1611 dirbuf.d_fileno = fileno;
|
/openbsd-current/gnu/gcc/libmudflap/ |
H A D | mf-runtime.h | 156 #pragma redefine_extname fileno __mfwrap_fileno
|
/openbsd-current/gnu/gcc/libstdc++-v3/config/io/ |
H A D | basic_file_stdio.cc | 256 { return fileno(_M_cfile); }
|
/openbsd-current/gnu/usr.bin/binutils/bfd/ |
H A D | hppabsd-core.c | 142 if (stream == NULL || fstat (fileno (stream), &statbuf) < 0)
|
H A D | trad-core.c | 116 if (fstat (fileno (stream), &statbuf) < 0)
|
/openbsd-current/gnu/usr.bin/binutils-2.17/bfd/ |
H A D | bfdwin.c | 161 fd = fileno ((FILE *) abfd->iostream);
|
/openbsd-current/gnu/usr.bin/cvs/os2/ |
H A D | popen.c | 334 int Handle = fileno (Pipe);
|
/openbsd-current/gnu/usr.bin/texinfo/info/ |
H A D | info.c | 289 if ((!isatty (fileno (stdout))) && (user_output_filename == (char *)NULL))
|
/openbsd-current/regress/lib/libc/orientation/ |
H A D | orientation_test.c | 139 TEST_UNCHANGED(fileno(f));
|
/openbsd-current/usr.sbin/lpr/lpc/ |
H A D | lpc.c | 102 fromatty = isatty(fileno(stdin));
|
/openbsd-current/usr.sbin/kvm_mkdb/ |
H A D | nlist.c | 141 MAP_SHARED|MAP_FILE, fileno(fp), symstroff);
|
/openbsd-current/gnu/usr.bin/perl/ext/VMS-Stdio/ |
H A D | Stdio.xs | 279 if (fsync(fileno(stdio))) { ST(0) = &PL_sv_undef; } 352 pio_fp = PerlIO_fdopen(fileno(fp),mode);
|
/openbsd-current/usr.sbin/smtpd/ |
H A D | queue_ram.c | 93 if (fstat(fileno(f), &sb) == -1) {
|
/openbsd-current/usr.bin/split/ |
H A D | split.c | 281 ofd = fileno(stdout);
|
/openbsd-current/lib/libc/locale/ |
H A D | rune.c | 222 if (fstat(fileno(fp), &sb) == -1)
|
/openbsd-current/usr.sbin/lpd/ |
H A D | lp.c | 518 if (ftruncate(fileno(lp->lp_lock), 0) == -1) 545 if (fstat(fileno(fp), &st) == -1) { 563 if (fchmod(fileno(lp->lp_lock), st.st_mode) == -1) 583 if (ftruncate(fileno(lp->lp_lock), 0) == -1)
|