Google
 

Trailing-Edge - PDP-10 Archives - SRI_NIC_PERM_FS_1_19910112 - kcc-4/lib/stdio/puts.c
There are 7 other files named puts.c in the archive. Click here to see a list.
/*
 *	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;
}