minix/lib/libc/other/stderr.c
Kees van Reeuwijk 407316e451 More const correctness.
Removed prototype for unimplemented getpgid() function.
Removed a value return from a void function.
2010-03-23 14:25:09 +00:00

11 lines
177 B
C

#include <lib.h>
#include <sys/types.h>
#include <unistd.h>
void std_err(const char *s)
{
register const char *p = s;
while (*p != 0) p++;
write(2, s, (int) (p - s));
}