Improve ptrace docs

This commit is contained in:
Peter Limkilde Svendsen
2026-04-08 22:36:19 +02:00
parent d6261d3868
commit 74c6e48a8f
2 changed files with 4 additions and 1 deletions
+2
View File
@@ -3,7 +3,9 @@ use crate::{
platform::{Pal, types::*},
};
/// Platform abstraction for `ptrace` functionality.
pub trait PalPtrace: Pal {
/// Platform implementation of [`ptrace()`](crate::header::sys_ptrace::ptrace) from [`sys/ptrace.h`](crate::header::sys_ptrace).
unsafe fn ptrace(
request: c_int,
pid: pid_t,