diff options
author | 2021-09-08 21:12:23 +0100 | |
---|---|---|
committer | 2021-09-08 21:12:23 +0100 | |
commit | 71a4f8667c63c2ffbe58eee7b5e963d3e09a42de (patch) | |
tree | d78cb33084b46cc0490b81a6422eee5207f608cc /vendor/golang.org/x/sys/unix/syscall_illumos.go | |
parent | rework media processing a little bit (#191) (diff) | |
download | gotosocial-71a4f8667c63c2ffbe58eee7b5e963d3e09a42de.tar.xz |
update sqlite library -> v1.13.0
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
Diffstat (limited to 'vendor/golang.org/x/sys/unix/syscall_illumos.go')
-rw-r--r-- | vendor/golang.org/x/sys/unix/syscall_illumos.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vendor/golang.org/x/sys/unix/syscall_illumos.go b/vendor/golang.org/x/sys/unix/syscall_illumos.go index 8c5357683..8d5f294c4 100644 --- a/vendor/golang.org/x/sys/unix/syscall_illumos.go +++ b/vendor/golang.org/x/sys/unix/syscall_illumos.go @@ -162,6 +162,14 @@ func (l *Lifreq) GetLifruInt() int { return *(*int)(unsafe.Pointer(&l.Lifru[0])) } +func (l *Lifreq) SetLifruUint(d uint) { + *(*uint)(unsafe.Pointer(&l.Lifru[0])) = d +} + +func (l *Lifreq) GetLifruUint() uint { + return *(*uint)(unsafe.Pointer(&l.Lifru[0])) +} + func IoctlLifreq(fd int, req uint, l *Lifreq) error { return ioctl(fd, req, uintptr(unsafe.Pointer(l))) } |