Searched refs:kshdebug_shf (Results 1 – 1 of 1) sorted by relevance
166 static struct shf *kshdebug_shf; variable171 if (kshdebug_shf) in kshdebug_init_()172 shf_close(kshdebug_shf); in kshdebug_init_()173 kshdebug_shf = shf_open("/tmp/ksh-debug.log", in kshdebug_init_()175 if (kshdebug_shf) { in kshdebug_init_()176 shf_fprintf(kshdebug_shf, "\nNew shell[pid %d]\n", getpid()); in kshdebug_init_()177 shf_flush(kshdebug_shf); in kshdebug_init_()187 if (!kshdebug_shf) in kshdebug_printf_()190 shf_fprintf(kshdebug_shf, "[%d] ", getpid()); in kshdebug_printf_()191 shf_vfprintf(kshdebug_shf, fmt, va); in kshdebug_printf_()[all …]