pki/vendor/golang.org/x/sys/unix/syscall_linux_gc_arm.go

15 lines
434 B
Go
Raw Normal View History

2020-11-25 20:36:07 +01:00
// 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.
2021-04-07 10:58:21 +02:00
//go:build arm && gc && linux
2020-12-04 20:40:08 +01:00
// +build arm,gc,linux
2020-11-25 20:36:07 +01:00
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)