From 01149ddd0e951b44574adc731c6bb7380b0b89ab Mon Sep 17 00:00:00 2001 From: "bernard.xiong" Date: Fri, 9 Apr 2010 09:38:09 +0000 Subject: [PATCH] add newlib directory git-svn-id: https://rt-thread.googlecode.com/svn/trunk@594 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- components/libc/newlib/syscalls.c | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 components/libc/newlib/syscalls.c diff --git a/components/libc/newlib/syscalls.c b/components/libc/newlib/syscalls.c new file mode 100644 index 0000000000..7768612da2 --- /dev/null +++ b/components/libc/newlib/syscalls.c @@ -0,0 +1,8 @@ +#include + +int _fork_r (struct _reent *ptr) +{ + /* return "not supported" */ + ptr->errno = ENOTSUP; + return -1; +}