1
0

msghdr_openbsd.go 260 B

12345678910
  1. // Copyright 2017 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. package socket
  5. func (h *msghdr) setIov(vs []iovec) {
  6. h.Iov = &vs[0]
  7. h.Iovlen = uint32(len(vs))
  8. }