blob: 9bc55a5a7b94c98be6e96f9545800bf1e1a8346b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
//////////////////////////////////////////////////
// this syscall will be moved to newlib later!
#define SYSCALL_CLONE 83
#define SYSCALL_PIPE 84
int _clone(void)
{
return syscall(SYSCALL_CLONE,0,0,0);
}
int _pipe(uint32_t fds[2])
{
return syscall(SYSCALL_PIPE,fds,0,0);
}
//
|