shithub: riscv

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