mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 14:18:20 +00:00
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:
@@ -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
|
||||
|
||||
@@ -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
23
cpukit/posix/src/vfork.c
Normal 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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user