2008-11-20 Joel Sherrill <joel.sherrill@oarcorp.com>

* posix/Makefile.am: Add dummy vfork() implementation.
	* posix/src/vfork.c: New file.
This commit is contained in:
Joel Sherrill
2008-11-20 16:56:53 +00:00
parent e4f98f13a9
commit d2ccb32686
3 changed files with 29 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2008-11-20 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/Makefile.am: Add dummy vfork() implementation.
* posix/src/vfork.c: New file.
2008-11-13 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1336/cpukit

View File

@@ -59,7 +59,7 @@ libposix_a_SOURCES += src/aio_cancel.c src/aio_error.c src/aio_fsync.c \
## ENOSYS_C_FILES
libposix_a_SOURCES += src/_execve.c src/execl.c src/execle.c src/execlp.c \
src/execv.c src/execve.c src/execvp.c src/fork.c src/pthreadatfork.c \
src/wait.c src/waitpid.c
src/wait.c src/waitpid.c src/vfork.c
## BARRIER_C_FILES
libposix_a_SOURCES += src/barrierattrdestroy.c src/barrierattrgetpshared.c \

23
cpukit/posix/src/vfork.c Normal file
View File

@@ -0,0 +1,23 @@
/*
* COPYRIGHT (c) 1989-2008.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
*
* $Id$
*/
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include <sys/types.h>
#include <unistd.h>
pid_t vfork(void)
{
return -1;
}