Defined in header
char *gets( char *str );
Reads stdin into given character string until a newline character is found or end-of-file occurs.
|str||-||character string to be written|
str on success, NULL otherwise
The bounds checking is not performed, therefore this function is extremely vulnerable to buffer-overflow attacks. Use Template:rlpt instead.
C documentation for gets