shithub: riscv

ref: 85b8d253d496c115766a37f51ea72cbec78090a8
dir: /sys/src/ape/lib/ap/stdio/puts.c/

View raw version
/*
 * pANS stdio -- puts
 */
#include "iolib.h"
int puts(const char *s){
	fputs(s, stdout);
	putchar('\n');
	return ferror(stdin)?EOF:0;
}