From d04645198d648a17ccb83e70aa5e6d60a06121aa Mon Sep 17 00:00:00 2001 From: Alexis211 Date: Fri, 18 Dec 2009 16:22:58 +0100 Subject: [nonworking commit] Started porting newlib --- Source/UnixUserland/fork.c | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 Source/UnixUserland/fork.c (limited to 'Source/UnixUserland/fork.c') diff --git a/Source/UnixUserland/fork.c b/Source/UnixUserland/fork.c new file mode 100644 index 0000000..012bc17 --- /dev/null +++ b/Source/UnixUserland/fork.c @@ -0,0 +1,8 @@ +#include +#undef errno +extern int errno; + +int fork() { + errno = EAGAIN; + return -1; +} -- cgit v1.2.3