...

Source file src/runtime/sys_darwin_32.go

     1	// Copyright 2018 The Go Authors. All rights reserved.
     2	// Use of this source code is governed by a BSD-style
     3	// license that can be found in the LICENSE file.
     4	
     5	// +build darwin
     6	// +build 386 arm
     7	
     8	package runtime
     9	
    10	import "unsafe"
    11	
    12	//go:linkname syscall_syscall9 syscall.syscall9
    13	//go:nosplit
    14	//go:cgo_unsafe_args
    15	func syscall_syscall9(fn, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2, err uintptr) {
    16		entersyscallblock()
    17		libcCall(unsafe.Pointer(funcPC(syscall9)), unsafe.Pointer(&fn))
    18		exitsyscall()
    19		return
    20	}
    21	func syscall9()
    22	

View as plain text