I have two functions, one which produces messages like Starting initialization... and another which checks return codes and outputs \"Ok\", \
Starting initialization...
\"Ok\"
\
You can specify width on string fields, e.g.
printf("%-20s", "initialization...");
and then whatever's printed with that field will be blank-padded to the width you indicate.
The - left-justifies your text in that field.
-