"calib/prompt.h"
Header.The "calib/prompt.h"
header contains a single function:
void calib_prompt (const char * str);
It prints out the given string as a “prompt” — but only if
stdin
is a tty
(i.e., we are receiving interactive input
from a user, not input from a file).
This function is used by various CALIB test programs, and could
perhaps be useful in other contexts.