syscall: add more stubs as needed for Go 1.20 support

This commit is contained in:
Ayke van Laethem
2023-02-02 20:29:06 +01:00
committed by Ayke
parent 1996fad075
commit d8b1fac690
6 changed files with 117 additions and 0 deletions
@@ -71,6 +71,14 @@ func Getpagesize() int {
return 4096 // TODO
}
type RawSockaddrInet4 struct {
// stub
}
type RawSockaddrInet6 struct {
// stub
}
// int open(const char *pathname, int flags, mode_t mode);
//
//export open