aboutsummaryrefslogtreecommitdiffstats
path: root/guts/fork.c
diff options
context:
space:
mode:
Diffstat (limited to 'guts/fork.c')
-rw-r--r--guts/fork.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/guts/fork.c b/guts/fork.c
new file mode 100644
index 0000000..a49694f
--- /dev/null
+++ b/guts/fork.c
@@ -0,0 +1,13 @@
+/*
+ * static int
+ * wrap_fork(void) {
+ * int rc = -1;
+ */
+
+ rc = real_fork();
+ if (rc == 0)
+ pseudo_client_reset();
+
+/* return rc;
+ * }
+ */