aboutsummaryrefslogtreecommitdiff
path: root/vendor/golang.org/x/sys/unix/syscall_openbsd_arm64.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/golang.org/x/sys/unix/syscall_openbsd_arm64.go')
-rw-r--r--vendor/golang.org/x/sys/unix/syscall_openbsd_arm64.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/vendor/golang.org/x/sys/unix/syscall_openbsd_arm64.go b/vendor/golang.org/x/sys/unix/syscall_openbsd_arm64.go
index 0fb39cf..a8c458c 100644
--- a/vendor/golang.org/x/sys/unix/syscall_openbsd_arm64.go
+++ b/vendor/golang.org/x/sys/unix/syscall_openbsd_arm64.go
@@ -28,6 +28,10 @@ func (msghdr *Msghdr) SetControllen(length int) {
28 msghdr.Controllen = uint32(length) 28 msghdr.Controllen = uint32(length)
29} 29}
30 30
31func (msghdr *Msghdr) SetIovlen(length int) {
32 msghdr.Iovlen = uint32(length)
33}
34
31func (cmsg *Cmsghdr) SetLen(length int) { 35func (cmsg *Cmsghdr) SetLen(length int) {
32 cmsg.Len = uint32(length) 36 cmsg.Len = uint32(length)
33} 37}