* Fixes #4875: Refactor process listing * Move procfs-based process listing into linux_debug.c, guarded by __linux__ * Provide a warning and eprintf a TODO on the remaining platforms. * Break reusable parts into linux_get_proc_pid and call it as needed. * Add/remove comments for clarity * Address feedback and re-enable non-Linux
3 lines
120 B
C
3 lines
120 B
C
/* radare - LGPL - Copyright 2009-2016 - pancake */
|
|
|
|
int procfs_pid_slurp (int pid, char *prop, char *out, size_t len);
|