#define INPUT_BUFOVERFLOW (-1) #define INPUT_ENDOFINPUT (-2) #define INPUT_SHORTRECORD (-3) #define INPUT_BADENCODING (-4)