repo.or.cz
/
minix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
etc/services - sync with NetBSD-8
[minix.git]
/
minix
/
lib
/
libc
/
gen
/
stderr.c
blob
63e802feff47bcdf88cb29bd2f7291e0e2d9618f
1
#include <lib.h>
2
#include <sys/types.h>
3
#include <unistd.h>
4
#include <minix/minlib.h>
5
6
void
std_err
(
const char
*
s
)
7
{
8
register
const char
*
p
=
s
;
9
10
while
(*
p
!=
0
)
p
++;
11
write
(
2
,
s
, (
int
) (
p
-
s
));
12
}