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
+15
View File
@@ -1,3 +1,18 @@
package syscall
func Exec(argv0 string, argv []string, envv []string) (err error)
// The two SockaddrInet* structs have been copied from the Go source tree.
type SockaddrInet4 struct {
Port int
Addr [4]byte
raw RawSockaddrInet4
}
type SockaddrInet6 struct {
Port int
ZoneId uint32
Addr [16]byte
raw RawSockaddrInet6
}