xv6/ulib.c

11 lines
90 B
C
Raw Normal View History

2006-06-27 14:35:53 +00:00
int
puts(char *s)
{
int i;
for(i = 0; s[i]; i++)
cons_putc(s[i]);
return i;
}