View Single Post
Old 18th August 2016, 13:12   #6  |  Link
TheFluff
Excessively jovial fellow
 
Join Date: Jun 2004
Location: rude
Posts: 1,100
printf always writes to stdout, if you want to write to stderr you say fprintf(stderr, ...) like if you were writing to a file. The stderr variable comes with stdio.
TheFluff is offline   Reply With Quote