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
/
spawninit.c
blob
1beedcf6bfb40a7cafea163a5121644164fbadda
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
(
"init"
,
"init"
,
"one"
,
"two"
,
0
)) <
0
)
9
panic
(
"spawnl(init) failed: %e"
,
r
);
10
}