shithub: riscv

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