shithub: riscv

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