shithub: riscv

ref: 08c1622b0d8de92c2650d7b0338d9abf20985827
dir: /sys/src/libstdio/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;
}