PUTS(3)
NAME
puts, fputs − write a string to a device
SYNOPSIS
puts(s)
char ∗s;
fputs(dev, s)
int dev;
char ∗s;
DESCRIPTION
Puts writes the null-terminated string s on the output device CONSOLE and appends a newline character.
Fputs writes the null-terminated string s on device dev.
Neither routine writes the terminal null character. They return SYSERR if dev is invalid.
SEE ALSO
gets(3), putc(3), printf(3), read(2), write(2)
BUGS
Puts appends a newline, fputs does not; there is no good reason for this.
December 01, 1986 — Xinu Programmer’s Manual