_fileno 2007 src/simh/sim_console.c _setmode (_fileno (sim_log), _O_BINARY); _fileno 2017 src/simh/sim_console.c _setmode (_fileno (sim_log), _O_TEXT); _fileno 328 src/simh/sim_fio.c if (_fstati64 (_fileno (st), &statb)) _fileno 416 src/simh/sim_fio.c return _chsize(_fileno(fptr), (long)size);