Reorganized sys functions
This commit is contained in:
parent
9908066c20
commit
c352778c6d
15 changed files with 110 additions and 120 deletions
|
@ -1,15 +0,0 @@
|
|||
socket(family Int, type Int, protocol Int) -> Int {
|
||||
return syscall(0x2000061, family, type, protocol)
|
||||
}
|
||||
|
||||
accept(fd Int, address Pointer, length Int) -> Int {
|
||||
return syscall(0x200001E, fd, address, length)
|
||||
}
|
||||
|
||||
bind(fd Int, address Pointer, length Int) -> Int {
|
||||
return syscall(0x2000068, fd, address, length)
|
||||
}
|
||||
|
||||
listen(fd Int, backlog Int) -> Int {
|
||||
return syscall(0x200006A, fd, backlog)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue