GETS(3spp) RISC/os Reference Manual 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
puts(3spp), getc(3spp),
DIAGNOSTICS
Gets returns the constant pointer NULL at end of file or
error.
Printed 1/6/92 Page 1