1: gets (s)
2: char *s;
3: { /* gets (s) - read a string with cgetc and store in s */
4: char *p;
5: extern int cin;
6: if (nargs () == 2)
7: IEHzap("gets ");
8: p=s;
9: while ((*s = cgetc(cin)) != '\n' && *s != '\0') s++;
10: if (*p == '\0') return (0);
11: *s = '\0';
12: return (p);
13: }
Defined functions
gets
defined in line
1;
never used