/*
* PUTS - write a string to stdio
*
* Copyright (c) 1986 by Ian Macky, SRI International
*/
#include "stdio.h"
int puts(s)
char *s;
{
if (!_writeable(stdout)) return EOF;
else return (fputs(s, stdout) != EOF) ? putc('\n', stdout) : EOF;
}