aboutsummaryrefslogtreecommitdiffstats
path: root/src/c_fork.h
diff options
context:
space:
mode:
authorJozanLeClerc <JozanLeClerc@noemail.net>2020-11-26 22:49:44 +0000
committerJozanLeClerc <JozanLeClerc@noemail.net>2020-11-26 22:49:44 +0000
commit61a0d117878ace757d62b4af35fcc8de5b981a34 (patch)
treefe5bb7142ddce9131e2bd39c5c69c7363a371697 /src/c_fork.h
parentIn progress (diff)
downloadbsdsetsid-61a0d117878ace757d62b4af35fcc8de5b981a34.tar.gz
bsdsetsid-61a0d117878ace757d62b4af35fcc8de5b981a34.tar.bz2
bsdsetsid-61a0d117878ace757d62b4af35fcc8de5b981a34.tar.xz
bsdsetsid-61a0d117878ace757d62b4af35fcc8de5b981a34.tar.zst
bsdsetsid-61a0d117878ace757d62b4af35fcc8de5b981a34.zip
In progress
FossilOrigin-Name: c044b82560a01287a9c768217a04c79b04f39e77
Diffstat (limited to '')
-rw-r--r--src/c_fork.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/c_fork.h b/src/c_fork.h
index dfc154c..18e059b 100644
--- a/src/c_fork.h
+++ b/src/c_fork.h
@@ -39,15 +39,22 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* bsdsetsid: src/c_fork.h
- * Thu Nov 26 22:09:56 CET 2020
+ * Thu Nov 26 23:39:54 CET 2020
* Joe
*/
#ifndef __C_FORK_H__
#define __C_FORK_H__
+#include <sys/types.h>
+
#include "c_bsdsetsid.h"
+union ret_u {
+ pid_t pid;
+ int ret;
+};
+
void c_fork(const char*[], const char*[], bool_t);
#endif