mirror of
https://github.com/golang/go
synced 2024-11-21 22:44:40 -07:00
syscall: fix linux/arm build
bug introduced at https://golang.org/cl/2331044 R=ken2 CC=golang-dev https://golang.org/cl/3440046
This commit is contained in:
parent
b07b04d35f
commit
66f7463e80
@ -98,3 +98,15 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, errno int)
|
||||
func (r *PtraceRegs) PC() uint64 { return 0 }
|
||||
|
||||
func (r *PtraceRegs) SetPC(pc uint64) {}
|
||||
|
||||
func (iov *Iovec) SetLen(length int) {
|
||||
iov.Len = uint32(length)
|
||||
}
|
||||
|
||||
func (msghdr *Msghdr) SetControllen(length int) {
|
||||
msghdr.Controllen = uint32(length)
|
||||
}
|
||||
|
||||
func (cmsg *Cmsghdr) SetLen(length int) {
|
||||
cmsg.Len = uint32(length)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user