Home
last modified time | relevance | path

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

/babblesim_base-latest/libUtilv1/src/
Dbs_tracing.c46 int bs_trace_is_tty(int file_index){ in bs_trace_is_tty() argument
47 if (is_a_tty[file_index] == -1) { in bs_trace_is_tty()
49 is_a_tty[file_index] = isatty(fileno(fptrs[file_index])); in bs_trace_is_tty()
51 return is_a_tty[file_index]; in bs_trace_is_tty()
152 uint file_index = 0; //by default thru stdout in bs_trace_vprint() local
155 file_index = 1; //errors and warnings thru stderr in bs_trace_vprint()
170 if ( is_a_tty[file_index] == -1 ){ in bs_trace_vprint()
171 is_a_tty[file_index] = isatty(fileno(fptrs[file_index])); in bs_trace_vprint()
173 if ( is_a_tty[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()
[all …]