Magellan Linux

Contents of /trunk/mkinitrd-magellan/klibc/usr/klibc/vfork.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 532 - (show annotations) (download)
Sat Sep 1 22:45:15 2007 UTC (16 years, 8 months ago) by niro
File MIME type: text/plain
File size: 228 byte(s)
-import if magellan mkinitrd; it is a fork of redhats mkinitrd-5.0.8 with all magellan patches and features; deprecates magellan-src/mkinitrd

1 /*
2 * vfork.c
3 *
4 * Emulate vfork() with fork() if necessary
5 */
6
7 #include <unistd.h>
8 #include <klibc/compiler.h>
9 #include <klibc/sysconfig.h>
10
11 #if !_KLIBC_NO_MMU && !_KLIBC_REAL_VFORK
12 int vfork(void)
13 {
14 return fork();
15 }
16 #endif