Explorar o código

add newlib directory

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@594 bbd45198-f89e-11dd-88c7-29a3b14d5316
bernard.xiong %!s(int64=15) %!d(string=hai) anos
pai
achega
01149ddd0e
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      components/libc/newlib/syscalls.c

+ 8 - 0
components/libc/newlib/syscalls.c

@@ -0,0 +1,8 @@
+#include <reent.h>
+
+int _fork_r (struct _reent *ptr)
+{
+	/* return "not supported" */
+	ptr->errno = ENOTSUP;
+	return -1;
+}