...
Run Format

Source file src/syscall/syscall_aix_ppc64.go

Documentation: syscall

     1  // Copyright 2018 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package syscall
     6  
     7  func (iov *Iovec) SetLen(length int) {
     8  	iov.Len = uint64(length)
     9  }
    10  
    11  func (msghdr *Msghdr) SetControllen(length int) {
    12  	msghdr.Controllen = uint32(length)
    13  }
    14  
    15  func (cmsg *Cmsghdr) SetLen(length int) {
    16  	cmsg.Len = uint32(length)
    17  }
    18  

View as plain text