This is a File I/O function. It is not implemented in the Compiler.
#include <stdio.h> char *fgets(char *s, int n, FILE *f);
fgets() reads a string of at most n-1 characters from file f into s. Immediately after the last character read, a '\0' is appended. If fgets() reads a line break ( '\n') or reaches the end of the file before having read n-1 characters, the following happens:
NULL, if there was an error; s otherwise.
fgetc() and