Searched refs:fileno (Results 151 - 175 of 359) sorted by relevance

1234567891011>>

/openbsd-current/games/sail/
H A Dsync.c215 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 Dio.c394 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 Dsend.c71 dovis = isatty(fileno(obuf));
418 prepare_child(&nset, fileno(mtf), -1);
H A Dedit.c175 if (fstat(fileno(nf), &statb) == -1)
/openbsd-current/usr.sbin/cron/
H A Dcrontab.c276 if (fstat(fileno(f), &statbuf) == -1) {
468 ftruncate(fileno(tmp), ftello(tmp)); /* XXX redundant with "w+"? */
H A Ddatabase.c199 if (fstat(fileno(crontab_fp), statbuf) == -1) {
/openbsd-current/usr.bin/rcs/
H A Drcsutil.c59 if (fstat(fileno(file->rf_file), &st) == -1) {
82 if (futimens(fileno(file->rf_file), ts) == -1)
/openbsd-current/games/boggle/boggle/
H A Dmach.c303 (void) tcflush(fileno(fp), TCIFLUSH);
663 (void) ioctl(fileno(stdout), TIOCGWINSZ, &win);
/openbsd-current/gnu/llvm/lldb/tools/lldb-vscode/
H A DVSCode.cpp51 int result = _setmode(fileno(stdout), _O_BINARY);
53 result = _setmode(fileno(stdin), _O_BINARY);
/openbsd-current/sys/msdosfs/
H A Dmsdosfs_vnops.c243 * 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 Dmf-runtime.h156 #pragma redefine_extname fileno __mfwrap_fileno
/openbsd-current/gnu/gcc/libstdc++-v3/config/io/
H A Dbasic_file_stdio.cc256 { return fileno(_M_cfile); }
/openbsd-current/gnu/usr.bin/binutils/bfd/
H A Dhppabsd-core.c142 if (stream == NULL || fstat (fileno (stream), &statbuf) < 0)
H A Dtrad-core.c116 if (fstat (fileno (stream), &statbuf) < 0)
/openbsd-current/gnu/usr.bin/binutils-2.17/bfd/
H A Dbfdwin.c161 fd = fileno ((FILE *) abfd->iostream);
/openbsd-current/gnu/usr.bin/cvs/os2/
H A Dpopen.c334 int Handle = fileno (Pipe);
/openbsd-current/gnu/usr.bin/texinfo/info/
H A Dinfo.c289 if ((!isatty (fileno (stdout))) && (user_output_filename == (char *)NULL))
/openbsd-current/regress/lib/libc/orientation/
H A Dorientation_test.c139 TEST_UNCHANGED(fileno(f));
/openbsd-current/usr.sbin/lpr/lpc/
H A Dlpc.c102 fromatty = isatty(fileno(stdin));
/openbsd-current/usr.sbin/kvm_mkdb/
H A Dnlist.c141 MAP_SHARED|MAP_FILE, fileno(fp), symstroff);
/openbsd-current/gnu/usr.bin/perl/ext/VMS-Stdio/
H A DStdio.xs279 if (fsync(fileno(stdio))) { ST(0) = &PL_sv_undef; }
352 pio_fp = PerlIO_fdopen(fileno(fp),mode);
/openbsd-current/usr.sbin/smtpd/
H A Dqueue_ram.c93 if (fstat(fileno(f), &sb) == -1) {
/openbsd-current/usr.bin/split/
H A Dsplit.c281 ofd = fileno(stdout);
/openbsd-current/lib/libc/locale/
H A Drune.c222 if (fstat(fileno(fp), &sb) == -1)
/openbsd-current/usr.sbin/lpd/
H A Dlp.c518 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)

Completed in 364 milliseconds

1234567891011>>