// Copyright 2019 The Go Authors. All rights reserved.// Use of this source code is governed by a BSD-style// license that can be found in the LICENSE file.// +build arm64,netbsdpackageunixfuncsetTimespec(sec,nsecint64)Timespec{returnTimespec{Sec:sec,Nsec:nsec}}funcsetTimeval(sec,usecint64)Timeval{returnTimeval{Sec:sec,Usec:int32(usec)}}funcSetKevent(k*Kevent_t,fd,mode,flagsint){k.Ident=uint64(fd)k.Filter=uint32(mode)k.Flags=uint32(flags)}func(iov*Iovec)SetLen(lengthint){iov.Len=uint64(length)}func(msghdr*Msghdr)SetControllen(lengthint){msghdr.Controllen=uint32(length)}func(cmsg*Cmsghdr)SetLen(lengthint){cmsg.Len=uint32(length)}