rizin/libr/debug/p/native/procfs.h
Joshua J. Drake fb820f9c8e Fixes #4875: Refactor process listing (#5144)
* 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
2016-06-16 22:39:11 +02:00

3 lines
120 B
C

/* radare - LGPL - Copyright 2009-2016 - pancake */
int procfs_pid_slurp (int pid, char *prop, char *out, size_t len);