Newer
Older
os = s;
while((*s++ = *t++) != 0)
;
return os;
for(n = 0; s[n]; n++)
;
return n;
}
cc = read(0, &c, 1);
if(cc < 1)
break;
if(c == '\n' || c == '\r')
break;
}
buf[i] = '\0';
return buf;
}
int
atoi(const char *s)
{
int n;
n = 0;
while('0' <= *s && *s <= '9')
n = n*10 + *s++ - '0';
return n;
}