mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-13 15:33:40 +00:00
syscall: add more stubs as needed for Go 1.20 support
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user