Xinu7/man/man3/puts.doc
PUTS(3) Xinu Programmer's Manual PUTS(3)
NAME
puts, fputs - write a string to a device
SYNOPSIS
puts(s)
char *s;
fputs(dev, s)
int dev;
char *s;
DESCRIPTION
_P_u_t_s writes the null-terminated string _s on the output dev-
ice CONSOLE and appends a newline character.
_F_p_u_t_s writes the null-terminated string _s on device _d_e_v.
Neither routine writes the terminal null character. They
return SYSERR if _d_e_v is invalid.
SEE ALSO
gets(3), putc(3), printf(3), read(2), write(2)
BUGS
_P_u_t_s appends a newline, _f_p_u_t_s does not; there is no good
reason for this.
Version 6b Printed 1/12/87 1