mirror of
https://github.com/golang/go
synced 2024-11-19 11:04:47 -07:00
syscall: change missing from windows net fixes
R=golang-dev, r CC=golang-dev https://golang.org/cl/4701045
This commit is contained in:
parent
f4acaa8ecd
commit
a16baf0777
@ -476,7 +476,7 @@ func Chmod(path string, mode uint32) (errno int) {
|
||||
//sys WSACleanup() (errno int) [failretval==-1] = wsock32.WSACleanup
|
||||
//sys WSAIoctl(s Handle, iocc uint32, inbuf *byte, cbif uint32, outbuf *byte, cbob uint32, cbbr *uint32, overlapped *Overlapped, completionRoutine uintptr) (errno int) [failretval==-1] = ws2_32.WSAIoctl
|
||||
//sys socket(af int32, typ int32, protocol int32) (handle Handle, errno int) [failretval==InvalidHandle] = wsock32.socket
|
||||
//sys setsockopt(s Handle, level int32, optname int32, optval *byte, optlen int32) (errno int) [failretval==-1] = wsock32.setsockopt
|
||||
//sys Setsockopt(s Handle, level int32, optname int32, optval *byte, optlen int32) (errno int) [failretval==-1] = wsock32.setsockopt
|
||||
//sys bind(s Handle, name uintptr, namelen int32) (errno int) [failretval==-1] = wsock32.bind
|
||||
//sys connect(s Handle, name uintptr, namelen int32) (errno int) [failretval==-1] = wsock32.connect
|
||||
//sys getsockname(s Handle, rsa *RawSockaddrAny, addrlen *int32) (errno int) [failretval==-1] = wsock32.getsockname
|
||||
|
Loading…
Reference in New Issue
Block a user