/* getline get string from file */ getline(s, n,file) /* read at most n chars from file */ char *s; /* remove eol and put in s terminated */ int n; /* by 0 (eos) */ int file; { int c,ce; char *cs; /* if fewer characters wanted than in line, flush rest of line */ cs= s; while (((c= getc(file)) != EOF) && (n-- > 0)) { if ((*cs++ = c) == '\n') { cs-- ; /* remove NEWLINE */ break; } /* end if *cs++ */ } /* end while */ *cs= EOS; /* flush rest of line */ if ( n ==0) { while (((ce=getc(file))!='\n') && (ce!=EOF)) {;} } /* end if n */ return ((c == EOF && cs == s)? NULL: s); } /* end getline */  <ÑÃ97*¢< ë"¢<Õë*¬<Í‚ ÑÚ‡8*{<%:}<·Í‚ Ú‡8* <ëÍž6ÕÍä6ë*¨<ë{æà_{²ÂM7ÑÕs#r#>w#wÍí6ÑÊc7s#rÃh7ë"¦<ë*¦<ÕëÍä6Ñs#r{ö_ÉÕõ*¨<ë{