GETS(CP) XENIX System V GETS(CP)
Name
gets - Gets a string from the standard input.
Syntax
gets [ string ]
Description
gets can be used with csh(C) to read a string from the
standard input. If string is given it is used as a default
value if an error occurs. The resulting string (either
string or as read from the standard input) is written to the
standard output. If no string is given and an error occurs,
gets exits with exit status 1.
See Also
line(C), csh(C)
Page 1 (printed 8/7/87)