mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-10-19 03:13:34 +08:00
add newlib directory
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@594 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
8
components/libc/newlib/syscalls.c
Normal file
8
components/libc/newlib/syscalls.c
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
#include <reent.h>
|
||||||
|
|
||||||
|
int _fork_r (struct _reent *ptr)
|
||||||
|
{
|
||||||
|
/* return "not supported" */
|
||||||
|
ptr->errno = ENOTSUP;
|
||||||
|
return -1;
|
||||||
|
}
|
Reference in New Issue
Block a user