github.com/tinygo-org/tinygo@v0.31.3-0.20240404173401-90b0bf646c27/src/syscall/syscall_unix.go (about) 1 package syscall 2 3 func Exec(argv0 string, argv []string, envv []string) (err error) 4 5 // The two SockaddrInet* structs have been copied from the Go source tree. 6 7 type SockaddrInet4 struct { 8 Port int 9 Addr [4]byte 10 raw RawSockaddrInet4 11 } 12 13 type SockaddrInet6 struct { 14 Port int 15 ZoneId uint32 16 Addr [16]byte 17 raw RawSockaddrInet6 18 }