From 67f68626e6e5116ec088f511a0f8a17158b303db Mon Sep 17 00:00:00 2001 From: baude Date: Thu, 28 Jun 2018 13:52:12 -0500 Subject: vendor in latest golang/x/sys Signed-off-by: baude Closes: #1022 Approved by: baude --- vendor/golang.org/x/sys/unix/syscall_linux_gc_386.go | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 vendor/golang.org/x/sys/unix/syscall_linux_gc_386.go (limited to 'vendor/golang.org/x/sys/unix/syscall_linux_gc_386.go') diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_gc_386.go b/vendor/golang.org/x/sys/unix/syscall_linux_gc_386.go new file mode 100644 index 000000000..070bd3899 --- /dev/null +++ b/vendor/golang.org/x/sys/unix/syscall_linux_gc_386.go @@ -0,0 +1,16 @@ +// Copyright 2018 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. + +// +build linux,!gccgo,386 + +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) + +func socketcall(call int, a0, a1, a2, a3, a4, a5 uintptr) (n int, err syscall.Errno) +func rawsocketcall(call int, a0, a1, a2, a3, a4, a5 uintptr) (n int, err syscall.Errno) -- cgit v1.2.3-54-g00ecf