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
VM: munmap used by VM for itself is no longer used
[minix.git]
/
lib
/
libcompat_minix
/
stderr.c
blob
fd7f65b4b7b67b9170e71a547ddeb85bb36ae7ee
1
#include <lib.h>
2
#include <sys/types.h>
3
#include <unistd.h>
4
5
void
std_err
(
const char
*
s
)
6
{
7
register
const char
*
p
=
s
;
8
9
while
(*
p
!=
0
)
p
++;
10
write
(
2
,
s
, (
int
) (
p
-
s
));
11
}