some coverity fixes.
[minix.git] / lib / libc / sys-minix / fork.c
blob55b6bdc583ff69f2d28d36052a606b3348054c0f
1 #include <sys/cdefs.h>
2 #include "namespace.h"
3 #include <lib.h>
5 #include <unistd.h>
7 #ifdef __weak_alias
8 __weak_alias(fork, _fork)
9 #endif
11 pid_t fork()
13 message m;
15 return(_syscall(PM_PROC_NR, FORK, &m));