repo.or.cz
/
minix3.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Uninitialized vector entry?
[minix3.git]
/
lib
/
other
/
stderr.c
blob
b7031287e80af878c7580a53206dd0c8393ec3ce
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
}