// 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,386packageuniximport("syscall""unsafe")funcseek(fdint,offsetint64,whenceint)(int64,syscall.Errno){varnewoffsetint64offsetLow:=uint32(offset&0xffffffff)offsetHigh:=uint32((offset>>32)&0xffffffff)_,_,err:=Syscall6(SYS__LLSEEK,uintptr(fd),uintptr(offsetHigh),uintptr(offsetLow),uintptr(unsafe.Pointer(&newoffset)),uintptr(whence),0)returnnewoffset,err}funcsocketcall(callint,a0,a1,a2,a3,a4,a5uintptr)(int,syscall.Errno){fd,_,err:=Syscall(SYS_SOCKETCALL,uintptr(call),uintptr(unsafe.Pointer(&a0)),0)returnint(fd),err}funcrawsocketcall(callint,a0,a1,a2,a3,a4,a5uintptr)(int,syscall.Errno){fd,_,err:=RawSyscall(SYS_SOCKETCALL,uintptr(call),uintptr(unsafe.Pointer(&a0)),0)returnint(fd),err}