summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibC/sys/ptrace.h
blob: ce7df7160546f1c0a29e9ef242c180f1b76482eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * Copyright (c) 2020, Itamar S. <itamar8910@gmail.com>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

#include <Kernel/API/POSIX/sys/ptrace.h>

__BEGIN_DECLS

// FIXME: PID/TID ISSUE
// Affects the entirety of LibDebug and Userland/strace.cpp.
// See also Kernel/Ptrace.cpp
int ptrace(int request, pid_t tid, void* addr, int data);

__END_DECLS