summaryrefslogtreecommitdiff
path: root/src/stdio/puts.c
blob: eb70efdc217bedb99c9db217d96bc706f688d150 (plain)
1
2
3
4
5
6
#include "stdio_impl.h"

int puts(const char *s)
{
	return -(fputs(s, stdout) < 0 || putchar('\n') < 0);
}