projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3da5572
)
add missing file
author
Denis Vlasenko
<vda.linux@googlemail.com>
Tue, 1 Jul 2008 10:55:45 +0000
(10:55 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Tue, 1 Jul 2008 10:55:45 +0000
(10:55 -0000)
libbb/xvfork.c
[new file with mode: 0644]
patch
|
blob
diff --git a/libbb/xvfork.c
b/libbb/xvfork.c
new file mode 100644
(file)
index 0000000..
a74b49f
--- /dev/null
+++ b/
libbb/xvfork.c
@@ -0,0
+1,18
@@
+/* vi: set sw=4 ts=4: */
+/*
+ * Utility routines.
+ *
+ * Copyright (C) 2007 Denys Vlasenko
+ *
+ * Licensed under GPL version 2, see file LICENSE in this tarball for details.
+ */
+
+#include "libbb.h"
+
+pid_t FAST_FUNC xvfork(void)
+{
+ pid_t pid = vfork();
+ if (pid < 0)
+ bb_perror_msg_and_die("vfork");
+ return pid;
+}