source:
trunk/minix/lib/other/stderr.c@
15
Last change on this file since 15 was 9, checked in by , 14 years ago | |
---|---|
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 | |
7 | void std_err(s) |
8 | char *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.