// Copyright 2017 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 arm,openbsdpackageunixfuncsetTimespec(sec,nsecint64)Timespec{returnTimespec{Sec:sec,Nsec:int32(nsec)}}funcsetTimeval(sec,usecint64)Timeval{returnTimeval{Sec:sec,Usec:int32(usec)}}funcSetKevent(k*Kevent_t,fd,mode,flagsint){k.Ident=uint32(fd)k.Filter=int16(mode)k.Flags=uint16(flags)}func(iov*Iovec)SetLen(lengthint){iov.Len=uint32(length)}func(msghdr*Msghdr)SetControllen(lengthint){msghdr.Controllen=uint32(length)}func(cmsg*Cmsghdr)SetLen(lengthint){cmsg.Len=uint32(length)}