[][src]Crate darwin_libproc_sys

Native libproc bindings for Rust.

This crate provides the raw libproc API exposing kernel data about processes of macOS.

See darwin-libproc crate for idiomatic and safe wrappers.

Structs

proc_bsdinfo
proc_fdinfo
proc_taskallinfo
proc_taskinfo
proc_vnodepathinfo
vinfo_stat
vnode_info
vnode_info_path

Constants

MAXPATHLEN
PROC_ALL_PIDS

Return all processes.

PROC_PGRP_ONLY

Return all processes in a given group.

PROC_PIDLISTFDS
PROC_PIDLISTFD_SIZE
PROC_PIDLISTTHREADS
PROC_PIDLISTTHREADS_SIZE
PROC_PIDPATHINFO_MAXSIZE
PROC_PIDTASKALLINFO
PROC_PIDTASKALLINFO_SIZE
PROC_PIDTASKINFO
PROC_PIDTASKINFO_SIZE
PROC_PIDTBSDINFO
PROC_PIDTBSDINFO_SIZE
PROC_PIDVNODEPATHINFO
PROC_PIDVNODEPATHINFO_SIZE
PROC_PPID_ONLY

Return all processes with the given PPID.

PROC_RUID_ONLY

Return all processes with the given RUID.

PROC_TTY_ONLY

Return all processes attached to a given TTY.

PROC_UID_ONLY

Return all processes with the given UID.

Functions

proc_kmsgbuf
proc_libversion
proc_listpids
proc_listpidspath
proc_name
proc_pidfdinfo
proc_pidinfo
proc_pidpath
proc_regionfilename