shithub: riscv

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