2 Proprietary Rand Corporation
, 1981.
3 Further distribution of
this software
4 subject to the terms of the Rand
8 /* return one line using getchar, caller must supply line buf and max. cnt */
9 /* return actual char cnt */
20 while ((c
= getchar()) > 0) {
22 if (--cc
<= 0 || c
== '\n') break;