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