aboutsummaryrefslogtreecommitdiff
path: root/src/syscall/syscall_linux_arm.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/syscall/syscall_linux_arm.go')
-rw-r--r--src/syscall/syscall_linux_arm.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/syscall/syscall_linux_arm.go b/src/syscall/syscall_linux_arm.go
index 2019b15169..725de63d41 100644
--- a/src/syscall/syscall_linux_arm.go
+++ b/src/syscall/syscall_linux_arm.go
@@ -23,6 +23,10 @@ func setTimeval(sec, usec int64) Timeval {
// Underlying system call writes to newoffset via pointer.
// Implemented in assembly to avoid allocation.
+//
+// Accessed via assembly in x/sys/unix.
+//
+//go:linkname seek
func seek(fd int, offset int64, whence int) (newoffset int64, err Errno)
func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {