Capture the stdout output of a ccall?

I just tried with a simple example and it did capture it properly, so not sure why it doesn’t work for you.