Implemented package specific structs

This commit is contained in:
Eduard Urbach 2025-02-08 16:06:39 +01:00
parent d71bbd51cf
commit 8357aefc01
Signed by: eduard
GPG key ID: 49226B848C78F6C8
15 changed files with 121 additions and 78 deletions

View file

@ -1,3 +1,10 @@
struct sockaddr_in {
sin_family Int16
sin_port Int16
sin_addr Int64
sin_zero Int64
}
socket(family Int, type Int, protocol Int) -> Int {
return syscall(41, family, type, protocol)
}