source: trunk/libs/newlib/src/libgloss/riscv/sys_fork.c @ 474

Last change on this file since 474 was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 220 bytes
Line 
1#include <machine/syscall.h>
2#include "internal_syscall.h"
3
4/* Create a new process. Minimal implementation for a system without
5   processes from newlib documentation.  */
6int _fork()
7{
8  errno = EAGAIN;
9  return -1;
10}
Note: See TracBrowser for help on using the repository browser.