equal
deleted
inserted
replaced
84 #define false 0 |
84 #define false 0 |
85 |
85 |
86 struct ps_prochandle; |
86 struct ps_prochandle; |
87 |
87 |
88 // attach to a process |
88 // attach to a process |
89 struct ps_prochandle* Pgrab(pid_t pid); |
89 struct ps_prochandle* Pgrab(pid_t pid, char* err_buf, size_t err_buf_len); |
90 |
90 |
91 // attach to a core dump |
91 // attach to a core dump |
92 struct ps_prochandle* Pgrab_core(const char* execfile, const char* corefile); |
92 struct ps_prochandle* Pgrab_core(const char* execfile, const char* corefile); |
93 |
93 |
94 // release a process or core |
94 // release a process or core |