chiark
/
gitweb
/
~mdw
/
ezmlm
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Debianization and various other fixes.
[ezmlm]
/
wait.h
1
#ifndef WAIT_H
2
#define WAIT_H
3
4
extern int wait_pid();
5
extern int wait_nohang();
6
extern int wait_stop();
7
extern int wait_stopnohang();
8
9
#define wait_crashed(w) ((w) & 127)
10
#define wait_exitcode(w) ((w) >> 8)
11
#define wait_stopsig(w) ((w) >> 8)
12
#define wait_stopped(w) (((w) & 127) == 127)
13
14
#endif