// 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 darwin,go1.12

package unix

import 

// Implemented in the runtime package (runtime/sys_darwin.go)
func (, , ,  uintptr) (,  uintptr,  Errno)
func (, , , , , ,  uintptr) (,  uintptr,  Errno)
func (, , , , , ,  uintptr) (,  uintptr,  Errno)
func (, , , , , , , , ,  uintptr) (,  uintptr,  Errno) // 32-bit only
func (, , ,  uintptr) (,  uintptr,  Errno)
func (, , , , , ,  uintptr) (,  uintptr,  Errno)
func (, , ,  uintptr) (,  uintptr,  Errno)

//go:linkname syscall_syscall syscall.syscall
//go:linkname syscall_syscall6 syscall.syscall6
//go:linkname syscall_syscall6X syscall.syscall6X
//go:linkname syscall_syscall9 syscall.syscall9
//go:linkname syscall_rawSyscall syscall.rawSyscall
//go:linkname syscall_rawSyscall6 syscall.rawSyscall6
//go:linkname syscall_syscallPtr syscall.syscallPtr

// Find the entry point for f. See comments in runtime/proc.go for the
// function of the same name.
//go:nosplit
func ( func()) uintptr {
	return **(**uintptr)(unsafe.Pointer(&))
}