Xinu7/src/lib/libxc/fputs.c

Compare this file to the similar file:
Show the results in this format:

/* fputs.c - fputs */

/*------------------------------------------------------------------------
 *  fputs  --  write a null-terminated string to a device (file)
 *------------------------------------------------------------------------
 */
fputs(dev, s)
        register char *s;
        register int dev;
{
	register r;
	register c;

	while (c = *s++)
                r = putc(dev, c);
	return(r);
}