wibo/processes.h

12 lines
235 B
C
Raw Permalink Normal View History

#include <cstdint>
#include <sched.h>
namespace processes {
struct Process {
pid_t pid;
uint32_t exitCode;
};
void *allocProcessHandle(pid_t pid);
Process* processFromHandle(void* hHandle, bool pop);
}