Dear Maintainer,
`man fgets.3` shows the function signature to be
char *fgets(int size;
char s[restrict size], int size, FILE *restrict stream);
Which seems to be wrong. For reference, `man fgets.3p`
(manpages-posix-dev) shows:
char *fgets(char *restrict s, int n, FILE *restrict stream);
I believe `int size;` before `char s[restrict size]` is syntactically
and semantically wrong.
The same error also exists in `fgetc.3`, `getchar.3`, and `ungetc.3`.
Maybe something like this would be more apt?:
char *fgets(char s[restrict size], int size, FILE *restrict stream);