| 17 | } |
| 18 | |
| 19 | int GetProcessInfo(uint64_t pid, lemon_process_info_t& pInfo){ |
| 20 | long ret = -1; |
| 21 | if((ret = syscall(SYS_GET_PROCESS_INFO, pid, &pInfo, 0, 0, 0))){ |
| 22 | errno = -ret; |
| 23 | return -1; |
| 24 | } |
| 25 | |
| 26 | return 0; |
| 27 | } |
| 28 | |
| 29 | int GetNextProcessInfo(uint64_t* pid, lemon_process_info_t& pInfo){ |
| 30 | long ret = 1; |
nothing calls this directly
no outgoing calls
no test coverage detected