chiark / gitweb /
do not regard everything as a child just because we daemonised
[innduct.git] / innduct.h
index 00be640f73a33aca2e15ab2202cee214d6dab8df..ddd17e69c59050b979bec2e8c131bd4869e11221 100644 (file)
--- a/innduct.h
+++ b/innduct.h
@@ -327,7 +327,8 @@ char *xasprintf(const char *fmt, ...) PRINTF(1,2);
 int close_perhaps(int *fd);
 void xclose(int fd, const char *what, const char *what2);
 void xclose_perhaps(int *fd, const char *what, const char *what2);
-pid_t xfork(const char *what);
+pid_t xfork(const char *what); /* also runs postfork in child */
+pid_t xfork_bare(const char *what);
 
 void on_fd_read_except(int fd, oop_call_fd callback);
 void cancel_fd_read_except(int fd);