From c4638fff39e9936722aa928e5262e4fe7b7eb9af Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 11 May 1998 17:39:59 +0000 Subject: new file to support execv family support in newlib --- c/src/lib/libc/_execve.c | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 c/src/lib/libc/_execve.c (limited to 'c/src/lib/libc/_execve.c') diff --git a/c/src/lib/libc/_execve.c b/c/src/lib/libc/_execve.c new file mode 100644 index 0000000000..d1ad365b57 --- /dev/null +++ b/c/src/lib/libc/_execve.c @@ -0,0 +1,31 @@ +#include + +#if defined(RTEMS_NEWLIB) +/* + * RTEMS Dummy _execveImplementation + * + * + * COPYRIGHT (c) 1989-1998. + * On-Line Applications Research Corporation (OAR). + * Copyright assigned to U.S. Government, 1994. + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.OARcorp.com/rtems/license.html. + * + * $Id$ + */ + +#include +#include + +int _execve( + const char *path, + char *const argv[], + char *const environ[] +) +{ + errno = ENOSYS; + return -1; +} +#endif -- cgit v1.2.3