Files
amiga-libnix2/libnix/sources/nix/stdio/puts.c
T
jshepher f8848586fd Added large baserel and resident startup code.
Added implementations of truncate, readlink, putenv, setenv.
2004-09-09 23:29:14 +00:00

16 lines
218 B
C
Executable File

#include <stdio.h>
int puts(const char *s)
{
while(*s)
if(fputc(*s++,stdout)==EOF)
return EOF;
if(fputc('\n',stdout)==EOF)
return EOF;
return 0;
}
int putchar(int c) {
return fputc(c, stdout);
}