pf 1644 src/simh/sim_console.c t_stat sim_open_logfile (const char *filename, t_bool binary, FILE **pf, FILEREF **pref) pf 1655 src/simh/sim_console.c *pf = NULL; pf 1659 src/simh/sim_console.c *pf = sim_log; pf 1667 src/simh/sim_console.c *pf = sim_deb; pf 1673 src/simh/sim_console.c *pf = stdout; pf 1677 src/simh/sim_console.c *pf = stderr; pf 1687 src/simh/sim_console.c *pf = sim_fopen (gbuf, (binary ? "w+b" : "w+"));/* then open an empty file */ pf 1689 src/simh/sim_console.c *pf = sim_fopen (gbuf, (binary ? "a+b" : "a+"));/* append to an existing file */ pf 1690 src/simh/sim_console.c if (*pf == NULL) { /* error? */ pf 1695 src/simh/sim_console.c (*pref)->file = *pf; pf 107 src/simh/sim_console.h t_stat sim_open_logfile (const char *filename, t_bool binary, FILE **pf, FILEREF **pref);