printing functions similar to the strace ones
use the new printing functions to simplify our code