source: trunk/minix/lib/other/stderr.c@ 10

Last change on this file since 10 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 207 bytes
Line 
1#include <lib.h>
2#include <sys/types.h>
3#include <unistd.h>
4
5_PROTOTYPE( void std_err, (char *s));
6
7void std_err(s)
8char *s;
9{
10 register char *p = s;
11
12 while (*p != 0) p++;
13 write(2, s, (int) (p - s));
14}
Note: See TracBrowser for help on using the repository browser.