repo.or.cz
/
mit-jos.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
still serv_close bug...
[mit-jos.git]
/
user
/
spawnhello.c
blob
10c092a9e1c307f4d88eeaf3e81de4ebd2fb34c0
1
#include <inc/lib.h>
2
3
void
4
umain
(
void
)
5
{
6
int
r
;
7
cprintf
(
"i am parent environment %08x
\n
"
,
env
->
env_id
);
8
if
((
r
=
spawnl
(
"hello"
,
"hello"
,
0
)) <
0
)
9
panic
(
"spawn(hello) failed: %e"
,
r
);
10
}