1 .\" @(#)gets.3s 6.1 (Berkeley) 5/15/85
3 .TH GETS 3 "May 15, 1985"
6 gets, fgets \- get a string from a stream
12 char *gets(char *\fIs\fP)
13 char *fgets(char *\fIs\fP, int \fIn\fP, FILE *\fIstream\fP)
20 from the standard input stream
22 The string is terminated by a newline
23 character, which is replaced in
32 characters, or up through a newline
33 character, whichever comes first,
38 The last character read into
40 is followed by a null character.
42 returns its first argument.
53 return the constant pointer
56 upon end of file or error.
62 all in the name of backward compatibility.
65 is not present in the Minix-vmd C library for reasons that should be obvious.