GETS(3spp)
NAME
gets − get a string from the console
SYNOPSIS
#include <saioctl.h>
char *gets(s)
char *s;
DESCRIPTION
Gets reads a string into s from the console. The string is terminated by a newline character, which is replaced in s by a null character. Gets returns its argument.
SEE ALSO
DIAGNOSTICS
Gets returns the constant pointer NULL upon end of file or error.