x A pointer to the str argument. NULL Indicates that an error has occurred or that the end-of-file was encountered before a new- line character was encountered. The contents of str are undefined if a read error occurs.