This is a file I/O function, also hardware dependent. It is not implemented in this 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, fgets() appends a '\0'. 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 an error occurred; s otherwise.