3 #include "libs/fvwmlib.h"
7 * Subroutine Prototypes
10 void Loop(const int *fd
);
11 RETSIGTYPE
DeadPipe(int nonsense
) __attribute__((noreturn
));
12 void process_message(unsigned long type
, const unsigned long *body
);
14 void list_old_configure(const unsigned long *body
);
15 void list_new_page(const unsigned long *body
);
16 void list_new_desk(const unsigned long *body
);
17 void list_focus(const unsigned long *body
);
18 void list_winid(const unsigned long *body
);
19 void list_unknown(const unsigned long *body
);
20 void list_icon(const unsigned long *body
);
21 void list_window_name(const unsigned long *body
);
22 void list_restack(const unsigned long *body
);
23 void list_error(const unsigned long *body
);
24 void list_configure(const unsigned long *body
);
28 # define ReapChildrenPid(pid) waitpid(pid, NULL, WNOHANG)
30 # define ReapChildrenPid(pid) wait4(pid, NULL, WNOHANG, NULL)
32 # error One of waitpid or wait4 is needed.
37 # define setvbuf(stream,buf,mode,size) setvbuf(stream,mode,buf,size)
40 # define setvbuf(a,b,c,d) setlinebuf(a)