svn commit: trunk/busybox/libbb
vda at busybox.net
vda at busybox.net
Tue Jul 1 03:55:46 PDT 2008
Author: vda
Date: 2008-07-01 03:55:45 -0700 (Tue, 01 Jul 2008)
New Revision: 22583
Log:
add missing file
Added:
trunk/busybox/libbb/xvfork.c
Changeset:
Added: trunk/busybox/libbb/xvfork.c
===================================================================
--- trunk/busybox/libbb/xvfork.c (rev 0)
+++ trunk/busybox/libbb/xvfork.c 2008-07-01 10:55:45 UTC (rev 22583)
@@ -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;
+}
More information about the busybox-cvs
mailing list