This is a file I/O function, also hardware dependent. It is not implemented in this Compiler.
#include <stdio.h>
char *gets(char *s);
gets() reads a string from stdin and stores it in s. It stops reading when it reaches a line break or EOF character, but does not append this character to the string. gets() terminates the string with zero.
If the function reads EOF before any other character, it sets stdin's end-of-file flag and returns unsuccessfully without changing string s.
NULL, if an error occurred; s otherwise.