char *fgets( char *s, int size, FILE *fp )
- prototype in stdio.h - gets a string from a stream, reading until size - 1 characters have been read or a newline is detected - newline character is retained - returns s argument if OK, else NULL on eof or error