blob: ca7087a2b780ef840a05c922afe56fafcef0e2f6 [file] [log] [blame]
bigbiff bigbiffe60683a2013-02-22 20:55:50 -05001#ifndef UTIL_LINUX_PROCUTILS
2#define UTIL_LINUX_PROCUTILS
3
4#include <dirent.h>
5
6struct proc_tasks {
7 DIR *dir;
8};
9
10extern struct proc_tasks *proc_open_tasks(pid_t pid);
11extern void proc_close_tasks(struct proc_tasks *tasks);
12extern int proc_next_tid(struct proc_tasks *tasks, pid_t *tid);
13
14#endif /* UTIL_LINUX_PROCUTILS */