aboutsummaryrefslogtreecommitdiff
path: root/vendor/golang.org/x/sys/unix/syscall_linux_gc_arm.go
diff options
context:
space:
mode:
authorlawl <github@dumbinter.net>2022-01-06 10:44:13 +0200
committerlawl <github@dumbinter.net>2022-01-06 16:04:34 +0530
commit8c34658b64f1efeab501bef57d2bfa9579fe34e2 (patch)
tree3fef93871214bc85c89ffcd04c6782c8aa3862ce /vendor/golang.org/x/sys/unix/syscall_linux_gc_arm.go
parent38787e4195f2a34d7ec4421caf17cb99bc31fa2b (diff)
downloadnoisetorch-8c34658b64f1efeab501bef57d2bfa9579fe34e2.tar.gz
noisetorch-8c34658b64f1efeab501bef57d2bfa9579fe34e2.zip
Chore: Upgrade nucular GUI dependency
Diffstat (limited to 'vendor/golang.org/x/sys/unix/syscall_linux_gc_arm.go')
-rw-r--r--vendor/golang.org/x/sys/unix/syscall_linux_gc_arm.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_gc_arm.go b/vendor/golang.org/x/sys/unix/syscall_linux_gc_arm.go
new file mode 100644
index 0000000..a6008fc
--- /dev/null
+++ b/vendor/golang.org/x/sys/unix/syscall_linux_gc_arm.go
@@ -0,0 +1,14 @@
+// Copyright 2009 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.
+
+//go:build arm && gc && linux
+// +build arm,gc,linux
+
+package unix
+
+import "syscall"
+
+// Underlying system call writes to newoffset via pointer.
+// Implemented in assembly to avoid allocation.
+func seek(fd int, offset int64, whence int) (newoffset int64, err syscall.Errno)