vendor/golang.org/x/sys/unix/syscall_openbsd_mips64.go
changeset 260 445e01aede7e
parent 256 6d9efbef00a9
equal deleted inserted replaced
259:db4911b0c721 260:445e01aede7e
    24 
    24 
    25 func (msghdr *Msghdr) SetControllen(length int) {
    25 func (msghdr *Msghdr) SetControllen(length int) {
    26 	msghdr.Controllen = uint32(length)
    26 	msghdr.Controllen = uint32(length)
    27 }
    27 }
    28 
    28 
       
    29 func (msghdr *Msghdr) SetIovlen(length int) {
       
    30 	msghdr.Iovlen = uint32(length)
       
    31 }
       
    32 
    29 func (cmsg *Cmsghdr) SetLen(length int) {
    33 func (cmsg *Cmsghdr) SetLen(length int) {
    30 	cmsg.Len = uint32(length)
    34 	cmsg.Len = uint32(length)
    31 }
    35 }
    32 
    36 
    33 // SYS___SYSCTL is used by syscall_bsd.go for all BSDs, but in modern versions
    37 // SYS___SYSCTL is used by syscall_bsd.go for all BSDs, but in modern versions