diff lib/lib.h @ 1327:85f297591693 draft

Introduce xfork() and make commands use it, and make some WEXITSTATUS() use WIFEXITED() and WTERMSIG()+127.
author Rob Landley <rob@landley.net>
date Sat, 31 May 2014 12:33:24 -0500
parents 4d898affda0c
children 9fd2bcedbeb5
line wrap: on
line diff
--- a/lib/lib.h	Thu May 29 08:21:48 2014 -0500
+++ b/lib/lib.h	Sat May 31 12:33:24 2014 -0500
@@ -91,6 +91,7 @@
 void xputs(char *s);
 void xputc(char c);
 void xflush(void);
+pid_t xfork(void);
 void xexec_optargs(int skip);
 void xexec(char **argv);
 void xaccess(char *path, int flags);