mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
linux 386 support; now in same state as darwin 386
(stuck on 8l bug). R=r DELTA=349 (342 added, 1 deleted, 6 changed) OCL=29882 CL=29886
This commit is contained in:
parent
f0e6a3caac
commit
802d6d4455
8 changed files with 362 additions and 7 deletions
|
|
@ -6,6 +6,14 @@ package syscall
|
|||
|
||||
import "syscall"
|
||||
|
||||
//sys accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, errno int)
|
||||
//sys bind(s int, addr uintptr, addrlen _Socklen) (errno int)
|
||||
//sys connect(s int, addr uintptr, addrlen _Socklen) (errno int)
|
||||
//sys socket(domain int, typ int, proto int) (fd int, errno int)
|
||||
//sys setsockopt(s int, level int, name int, val uintptr, vallen int) (errno int)
|
||||
//sys Listen(s int, n int) (errno int)
|
||||
//sys Shutdown(fd int, how int) (errno int)
|
||||
|
||||
func Getpagesize() int {
|
||||
return 4096
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue