tabs and tab overview
This commit is contained in:
commit
d07c2a5cc9
244 changed files with 72046 additions and 0 deletions
17
reaper.h
Normal file
17
reaper.h
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#pragma once
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <sys/wait.h>
|
||||
|
||||
#include "fdm.h"
|
||||
|
||||
struct reaper;
|
||||
|
||||
struct reaper *reaper_init(struct fdm *fdm);
|
||||
void reaper_destroy(struct reaper *reaper);
|
||||
|
||||
typedef void (*reaper_cb)(
|
||||
struct reaper *reaper, pid_t pid, int status, void *data);
|
||||
|
||||
void reaper_add(struct reaper *reaper, pid_t pid, reaper_cb cb, void *cb_data);
|
||||
void reaper_del(struct reaper *reaper, pid_t pid);
|
||||
Loading…
Add table
Add a link
Reference in a new issue