GETS(UCB) — UNIX Programmer’s Manual
NAME
gets − get a string from standard input
SYNOPSIS
gets [ default ]
DESCRIPTION
Gets can be used with csh(UCB) to read a string from the standard input. If a default is given it is used if an error occurs. The resultant string (either the default or as read from the standard input is written to the standard output. If no default is given and an error occurs, gets exits with exit status 1.
SEE ALSO
csh (UCB)
BUGS
7th Edition — 2/24/79