shithub: riscv

ref: f2716ab22742ecccafea28948e03ddd71f419829
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;
}