Цитата(defunct @ Nov 30 2009, 22:24)

SUCCESS равен нулю вообще-то.
не 0 - это код ошибки.
Вообще-то нет. У автора все верно. Цитата из ISO/IEC 9899:1999 (E) (в простонародии C99)
Цитата
7.19.7.9 The putchar function
Synopsis
1 #include <stdio.h>
int putchar(int c);
Description
2The putchar function is equivalent to putc with the second argument stdout.
Returns
3The putchar function returns the character written.If a write error occurs, the error
indicator for the stream is set and putchar returns EOF.