Currently At: Programming Reference > C Reference > Stndard C I/O > gets()

gets()


Syntax:
#include <stdio.h>


Description:
The gets() function reads characters from STDIN and loads them into str, until a newline or EOF is reached. The newline character is translated into a null termination. The return value of gets() is the read-in string, or NULL if there is an error.

Related Topics:
fputs(), fgetc(), fgets(), puts()


Web Standards & Support:

Link to and support eLook.org Powered by LoadedWeb Web Hosting
Valid XHTML 1.0! Valid CSS! eLook.org FireFox Extensions