aboutsummaryrefslogtreecommitdiff
path: root/lib/mlibc/sysdeps/ironclad/include/sys/ptrace.h
blob: 3993753f10a3eb9b83d7d4c744b2404b8b64a11f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef _SYS_PTRACE_H
#define _SYS_PTRACE_H

#include <stdint.h>
#include <stdbool.h>
#include <sys/types.h>

#ifdef __cplusplus
extern "C" {
#endif

#define PTRACE_ATTACH  1
#define PTRACE_DETACH  2
#define PTRACE_CONT    3
#define PTRACE_SYSCALL 4
#define PTRACE_GETREGS 5
int ptrace(int request, pid_t pid, void *addr, void *data);

#ifdef __cplusplus
}
#endif

#endif // _SYS_PTRACE_H