Explorar el Código

add newlib directory

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@594 bbd45198-f89e-11dd-88c7-29a3b14d5316
bernard.xiong hace 15 años
padre
commit
01149ddd0e
Se han modificado 1 ficheros con 8 adiciones y 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;
+}