vendor/golang.org/x/sys/unix/syscall_openbsd_amd64.go
changeset 251 1c52a0eeb952
parent 242 2a9ec03fe5a1
child 256 6d9efbef00a9
equal deleted inserted replaced
250:c040f992052f 251:1c52a0eeb952
    26 
    26 
    27 func (msghdr *Msghdr) SetControllen(length int) {
    27 func (msghdr *Msghdr) SetControllen(length int) {
    28 	msghdr.Controllen = uint32(length)
    28 	msghdr.Controllen = uint32(length)
    29 }
    29 }
    30 
    30 
       
    31 func (msghdr *Msghdr) SetIovlen(length int) {
       
    32 	msghdr.Iovlen = uint32(length)
       
    33 }
       
    34 
    31 func (cmsg *Cmsghdr) SetLen(length int) {
    35 func (cmsg *Cmsghdr) SetLen(length int) {
    32 	cmsg.Len = uint32(length)
    36 	cmsg.Len = uint32(length)
    33 }
    37 }
    34 
    38 
    35 // SYS___SYSCTL is used by syscall_bsd.go for all BSDs, but in modern versions
    39 // SYS___SYSCTL is used by syscall_bsd.go for all BSDs, but in modern versions