Home
last modified time | relevance | path

Searched refs:fptrs (Results 1 – 1 of 1) sorted by relevance

/babblesim_base-3.7.0/libUtilv1/src/
Dbs_tracing.c48 FILE* fptrs[2] = {stdout, stderr}; in bs_trace_is_tty() local
49 is_a_tty[file_index] = isatty(fileno(fptrs[file_index])); in bs_trace_is_tty()
158 FILE* fptrs[2] = {stdout, stderr}; in bs_trace_vprint() local
171 is_a_tty[file_index] = isatty(fileno(fptrs[file_index])); in bs_trace_vprint()
174 fprintf(fptrs[file_index],"%s%s",prefix_s_color, trace_type_esc_start[type]); in bs_trace_vprint()
176 fprintf(fptrs[file_index],"%s",prefix_s); in bs_trace_vprint()
178 fprintf(fptrs[file_index], "%s %s ", time_s, base_trace_type_prefixes[type]); in bs_trace_vprint()
180 fprintf(fptrs[file_index], "(%s:%u): ", caller_filename, caller_line); in bs_trace_vprint()
182 vfprintf(fptrs[file_index], format, variable_args); in bs_trace_vprint()
185 fprintf(fptrs[file_index],"%s", trace_esc_end); in bs_trace_vprint()