diff options
| -rw-r--r-- | components/libc/newlib/syscalls.c | 8 |
1 files changed, 8 insertions, 0 deletions
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 <reent.h> + +int _fork_r (struct _reent *ptr) +{ + /* return "not supported" */ + ptr->errno = ENOTSUP; + return -1; +} |
