xv6/ulib.c

19 lines
156 B
C
Raw Normal View History

#include "user.h"
2006-06-27 14:35:53 +00:00
int
puts(char *s)
{
return cons_puts(s);
}
int
puts1(char *s)
2006-06-27 14:35:53 +00:00
{
int i;
for(i = 0; s[i]; i++)
cons_putc(s[i]);
return i;
}