I've added some printf statements to some code that is run at the start of a program, but the statements aren't printing to stdout until I terminate the program with a ctrl c
in my terminal, and they are showing up on the same line as my terminal prompt. For example the printf in the demo code below would show like this
[notice] Interrupt: exiting.
yabbadabbadoo/usr/local/bin 13:24:21 :
Why is that and how to change it? i.e. would there be somewhere in the application code that the developer has somehow set printf statements to print at exit?
some_function_name(){
printf("yabbadabbadoo");
}