1// Copyright 2020 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//go:build darwin && !ios
 6// +build darwin,!ios
 7
 8package unix
 9
10import "unsafe"
11
12func ptrace(request int, pid int, addr uintptr, data uintptr) error {
13	return ptrace1(request, pid, addr, data)
14}
15
16func ptracePtr(request int, pid int, addr uintptr, data unsafe.Pointer) error {
17	return ptrace1Ptr(request, pid, addr, data)
18}