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
Last modified: 1975-05-14
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 540
Valid CSS Valid XHTML 1.0 Strict