scanf Placeholder #include <stdio.h> scanf type arg1 Description Placeholder Diagnostics These functions return EOF on end of input or error and a count which is shorter than expected for unexpected or unmatched items. See Also atoi(), atof(), getc(), printf() Kernighan and Ritchie pp 147-150