Improved type system

This commit is contained in:
Eduard Urbach 2025-02-17 14:31:47 +01:00
parent 78f2670553
commit 6eab48c586
Signed by: eduard
GPG key ID: 49226B848C78F6C8
62 changed files with 189 additions and 172 deletions

View file

@ -1,19 +1,19 @@
clone(flags Int, stack *Any) -> Int {
clone(flags int, stack *any) -> int {
return syscall(56, flags, stack)
}
fork() -> Int {
fork() -> int {
return syscall(57)
}
execve(path *Any, argv *Any, envp *Any) -> Int {
execve(path *any, argv *any, envp *any) -> int {
return syscall(59, path, argv, envp)
}
exit(status Int) {
exit(status int) {
syscall(60, status)
}
waitid(type Int, id Int, info *Any, options Int) -> Int {
waitid(type int, id int, info *any, options int) -> int {
return syscall(247, type, id, info, options)
}