xv6/ulib.c
rsc 9b37d1bfaa Add user.h for prototypes.
Add cons_puts for cleaner output.
2006-07-16 15:36:31 +00:00

18 lines
156 B
C

#include "user.h"
int
puts(char *s)
{
return cons_puts(s);
}
int
puts1(char *s)
{
int i;
for(i = 0; s[i]; i++)
cons_putc(s[i]);
return i;
}