diff options
author | Joel Sherrill <joel@rtems.org> | 2016-01-19 12:11:47 -0600 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2016-01-19 12:11:47 -0600 |
commit | 22bb1b61cb4efe0c0dbe41057aac83bb5cffb5d3 (patch) | |
tree | eb390a0a512494bc180d633fa5784dee84a38c5a /cpukit/posix/src/execve.c | |
parent | psxtests: Fix link-time errors (diff) | |
download | rtems-22bb1b61cb4efe0c0dbe41057aac83bb5cffb5d3.tar.bz2 |
posix/src/exec*: Remove all variants already in Newlib
The RTEMS build of Newlib includes implementations of all exec*()
variants. They rely on the _execve() support method. RTEMS already
had this and it returned ENOSYS. There is no functional change.
closes #2537.
Diffstat (limited to 'cpukit/posix/src/execve.c')
-rw-r--r-- | cpukit/posix/src/execve.c | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/cpukit/posix/src/execve.c b/cpukit/posix/src/execve.c deleted file mode 100644 index 1b834a56f1..0000000000 --- a/cpukit/posix/src/execve.c +++ /dev/null @@ -1,38 +0,0 @@ -/** - * @file - * - * @brief Execute a Program - * @ingroup POSIXAPI - */ - -/* - * COPYRIGHT (c) 1989-2007. - * 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.org/license/LICENSE. - */ - -#if HAVE_CONFIG_H -#include "config.h" -#endif - -#ifndef HAVE_EXECVE - -#include <errno.h> -#include <rtems/seterr.h> - -/** - * POSIX 1003.1b 3.1.2 - */ -int execve( - const char *path, - char *const argv[], - char *const envp[] -) -{ - rtems_set_errno_and_return_minus_one( ENOSYS ); -} - -#endif |