Version:
~ [ 0.6-2.3.46 ] ~
Architecture:
~ [ um ] ~
** Warning: Cannot open xref database.
1 #ifndef _UM_UNISTD_H_
2 #define _UM_UNISTD_H_
3
4 extern void start_kernel(void);
5 extern int idle(void);
6 extern int um_execve(char *file, char **argv, char **env);
7 #define execve(file, argv, env) um_execve(file, argv, env)
8
9 extern long sys_open(const char *file, int flags, int mode);
10
11 static inline long open(const char *file, int flags, int mode)
12 {
13 return(sys_open(file, flags, mode));
14 }
15
16 extern int sys_dup(unsigned int fd);
17
18 static inline int dup(unsigned int fd)
19 {
20 return(sys_dup(fd));
21 }
22
23 #ifdef __KERNEL_SYSCALLS__
24 #define __SAVE_KERNEL_SYSCALLS__ __KERNEL_SYSCALLS__
25 #endif
26
27 #undef __KERNEL_SYSCALLS__
28
29 #include "asm/arch/unistd.h"
30
31 #ifdef __SAVE_KERNEL_SYSCALLS__
32 #define __KERNEL_SYSCALLS__ __SAVE_KERNEL_SYSCALLS__
33 #endif
34
35 #endif
36
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.