/openbsd-current/games/atc/ |
H A D | log.c | 147 if (flock(fileno(score_fp), LOCK_EX) == -1) 242 flock(fileno(score_fp), LOCK_UN); 244 fsync(fileno(score_fp));
|
/openbsd-current/games/banner/ |
H A D | banner.c | 1159 if (isatty(fileno(stdin)))
|
/openbsd-current/games/boggle/boggle/ |
H A D | word.c | 131 if (fstat(fileno(fp), &statb) < 0) {
|
/openbsd-current/games/hack/ |
H A D | hack.ioctl.c | 77 (void) tcgetattr(fileno(stdin), &termios); 83 (void) tcsetattr(fileno(stdin), TCSADRAIN, &termios);
|
/openbsd-current/games/hangman/ |
H A D | setup.c | 79 fstat(fileno(Dict), &sbuf);
|
/openbsd-current/games/sail/ |
H A D | misc.c | 206 if (flock(fileno(fp), LOCK_EX) == -1) 239 (void) flock(fileno(fp), LOCK_UN);
|
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/gnu/gcc/fixincludes/ |
H A D | fixincl.c | 115 have_tty = isatty (fileno (stderr));
|
H A D | system.h | 97 # undef fileno macro 98 # define fileno(Stream) fileno_unlocked (Stream) macro
|
/openbsd-current/gnu/gcc/gcc/ |
H A D | gcov-io.c | 532 if (fstat (fileno (gcov_var.file), &status))
|
H A D | gcov.c | 1809 if (!fstat (fileno (source_file), &status)
|
H A D | ggc-common.c | 468 mmi.preferred_base = host_hooks.gt_pch_get_address (mmi.size, fileno (f)); 579 fileno (f), mmi.offset);
|
H A D | mips-tfile.c | 4359 if (fstat (fileno (obj_in_stream), &stat_buf) != 0
|
H A D | sys-protos.h | 358 extern int fileno(FILE *);
|
H A D | system.h | 105 # undef fileno macro 106 # define fileno(Stream) fileno_unlocked (Stream) macro
|
/openbsd-current/gnu/gcc/libcpp/ |
H A D | system.h | 97 # undef fileno macro 98 # define fileno(Stream) fileno_unlocked (Stream) macro
|
/openbsd-current/gnu/gcc/libmudflap/ |
H A D | mf-hooks2.c | 626 bufmode = fileno (f) == 2 ? _IONBF : (isatty (fileno (f)) ? _IOLBF : _IOFBF); 991 WRAPPER2(int, fileno, FILE *stream) 995 "fileno stream"); 996 return fileno (stream);
|
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/lib/libiberty/src/ |
H A D | configure | 6667 _exit(close(fileno(stdout)) != 0); 6685 || fstat(fileno(stdout), &st) != 0
|
/openbsd-current/gnu/lib/libreadline/examples/ |
H A D | excallback.c | 122 FD_SET(fileno(stdin), &fds); 124 if( select(fileno(stdin) + 1, &fds, NULL, NULL, NULL) < 0) { 129 if( FD_ISSET(fileno(stdin), &fds) ) {
|
/openbsd-current/gnu/lib/libreadline/ |
H A D | input.c | 178 tty = fileno (rl_instream); 275 tty = fileno (rl_instream); 433 result = read (fileno (stream), &c, sizeof (unsigned char)); 462 if (sh_unset_nodelay_mode (fileno (stream)) < 0)
|
H A D | parens.c | 128 FD_SET (fileno (rl_instream), &readfds);
|
H A D | rltty.c | 643 tty = fileno (rl_instream); 685 tty = fileno (rl_instream); 715 int fildes = fileno (rl_outstream); 748 int fildes = fileno (rl_instream); 785 int tty = fileno (rl_instream); 878 if (_get_tty_settings (fileno (rl_instream), &sigstty) < 0) 886 if (_set_tty_settings (fileno (rl_instream), &nosigstty) < 0) 887 return (_set_tty_settings (fileno (rl_instream), &sigstty)); 901 r = _set_tty_settings (fileno (rl_instream), &sigstty);
|
H A D | terminal.c | 287 _rl_get_screen_size (fileno (rl_instream), 1); 367 tty = rl_instream ? fileno (rl_instream) : 0;
|