nix/sys/ptrace/mod.rs
1///! Provides helpers for making ptrace system calls
2
3#[cfg(any(target_os = "android", target_os = "linux"))]
4mod linux;
5
6#[cfg(any(target_os = "android", target_os = "linux"))]
7pub use self::linux::*;
8
9#[cfg(any(target_os = "dragonfly",
10 target_os = "freebsd",
11 target_os = "macos",
12 target_os = "netbsd",
13 target_os = "openbsd"))]
14mod bsd;
15
16#[cfg(any(target_os = "dragonfly",
17 target_os = "freebsd",
18 target_os = "macos",
19 target_os = "netbsd",
20 target_os = "openbsd"
21 ))]
22pub use self::bsd::*;