Hi.
On OS X, which is derived from BSD, printf returns 0 if successful. On Linux, it returns the number of characters printed. Is there some way that my code can detect what platform it's being compiled on, or a way to alter the behaviour of printf?
Richard