gets

gets, gets_s

Defined in header <stdio.h>
char *gets( char *str );
(until C11)
char *gets_s( char *str, rsize_t n );
(since C11)
(optional)
1) Reads stdin into the character array pointed to by str until a newline character is found or end-of-file occurs. A null character is written immediately after the last character read into the arra