vendor/golang.org/x/sys/unix/syscall_solaris_amd64.go
changeset 251 1c52a0eeb952
parent 242 2a9ec03fe5a1
child 256 6d9efbef00a9
equal deleted inserted replaced
250:c040f992052f 251:1c52a0eeb952
    16 
    16 
    17 func (iov *Iovec) SetLen(length int) {
    17 func (iov *Iovec) SetLen(length int) {
    18 	iov.Len = uint64(length)
    18 	iov.Len = uint64(length)
    19 }
    19 }
    20 
    20 
       
    21 func (msghdr *Msghdr) SetIovlen(length int) {
       
    22 	msghdr.Iovlen = int32(length)
       
    23 }
       
    24 
    21 func (cmsg *Cmsghdr) SetLen(length int) {
    25 func (cmsg *Cmsghdr) SetLen(length int) {
    22 	cmsg.Len = uint32(length)
    26 	cmsg.Len = uint32(length)
    23 }
    27 }