Revision: 370
http://svn.sourceforge.net/cadcdev/?rev=370&view=rev
Author: bardtx
Date: 2006-09-17 17:27:58 -0700 (Sun, 17 Sep 2006)
Log Message:
-----------
kos: Add execve() stub
Modified Paths:
--------------
kos/kernel/libc/newlib/Makefile
Added Paths:
-----------
kos/kernel/libc/newlib/newlib_execve.c
Modified: kos/kernel/libc/newlib/Makefile
===================================================================
--- kos/kernel/libc/newlib/Makefile 2006-09-18 00:26:35 UTC (rev 369)
+++ kos/kernel/libc/newlib/Makefile 2006-09-18 00:27:58 UTC (rev 370)
@@ -13,6 +13,7 @@
#
OBJS = lock_common.o newlib_close.o newlib_env_lock.o newlib_environ.o \
+ newlib_execve.o \
newlib_exit.o newlib_fork.o newlib_fstat.o newlib_getpid.o \
newlib_gettimeofday.o newlib_isatty.o newlib_kill.o newlib_link.o \
newlib_lseek.o newlib_malloc.o newlib_open.o \
Added: kos/kernel/libc/newlib/newlib_execve.c
===================================================================
--- kos/kernel/libc/newlib/newlib_execve.c (rev 0)
+++ kos/kernel/libc/newlib/newlib_execve.c 2006-09-18 00:27:58 UTC (rev 370)
@@ -0,0 +1,14 @@
+/* KallistiOS ##version##
+
+ newlib_execve.c
+ Copyright (C)2004 Dan Potter
+
+*/
+
+#include <sys/reent.h>
+#include <errno.h>
+
+int _execve_r(struct _reent * reent) {
+ reent->_errno = EAGAIN;
+ return -1;
+}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|