minix/lib/libminc/fputs.c
Evgeniy Ivanov 5da4a0bd56 Move minimal libc from libsys into separate lib.
Now users can choose between libsys, libsys + libminc and
libsys + libc. E.g. PUFFS/FUSE servers need libsys + libc while
old servers can use libsys + libminc.
2011-07-09 22:32:38 +02:00

16 lines
231 B
C

#include <sys/cdefs.h>
#include "namespace.h"
#include <assert.h>
#include <stdio.h>
#ifdef __weak_alias
__weak_alias(fputs, _fputs)
#endif
int fputs(const char *s, FILE *fp)
{
assert(fp == stdout || fp == stderr);
puts(s);
}