Simplified standard library
This commit is contained in:
parent
b8e37fafae
commit
b7685fd7ec
25 changed files with 232 additions and 231 deletions
|
@ -13,7 +13,6 @@ const state {
|
|||
main() {
|
||||
length := 256
|
||||
command := mem.alloc(length)
|
||||
siginfo := mem.alloc(128)
|
||||
|
||||
loop {
|
||||
io.out("λ ")
|
||||
|
@ -31,6 +30,6 @@ main() {
|
|||
return
|
||||
}
|
||||
|
||||
sys.waitid(idtype.pid, pid, siginfo, state.exited)
|
||||
sys.waitid(idtype.pid, pid, 0, state.exited)
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue