1 /* This file was automatically generated by make-map from ../../mcs/class/lib/Mono.Posix.dll */
11 int map_Mono_Posix_OpenFlags (int x)
14 if ((x & Mono_Posix_OpenFlags_O_RDONLY) != 0)
16 if ((x & Mono_Posix_OpenFlags_O_WRONLY) != 0)
18 if ((x & Mono_Posix_OpenFlags_O_RDWR) != 0)
20 if ((x & Mono_Posix_OpenFlags_O_CREAT) != 0)
22 if ((x & Mono_Posix_OpenFlags_O_EXCL) != 0)
24 if ((x & Mono_Posix_OpenFlags_O_NOCTTY) != 0)
26 if ((x & Mono_Posix_OpenFlags_O_TRUNC) != 0)
28 if ((x & Mono_Posix_OpenFlags_O_APPEND) != 0)
30 if ((x & Mono_Posix_OpenFlags_O_NONBLOCK) != 0)
32 if ((x & Mono_Posix_OpenFlags_O_SYNC) != 0)
37 int map_Mono_Posix_FileMode (int x)
40 if ((x & Mono_Posix_FileMode_S_ISUID) != 0)
42 if ((x & Mono_Posix_FileMode_S_ISGID) != 0)
44 if ((x & Mono_Posix_FileMode_S_ISVTX) != 0)
46 if ((x & Mono_Posix_FileMode_S_IRUSR) != 0)
48 if ((x & Mono_Posix_FileMode_S_IWUSR) != 0)
50 if ((x & Mono_Posix_FileMode_S_IXUSR) != 0)
52 if ((x & Mono_Posix_FileMode_S_IRGRP) != 0)
54 if ((x & Mono_Posix_FileMode_S_IWGRP) != 0)
56 if ((x & Mono_Posix_FileMode_S_IXGRP) != 0)
58 if ((x & Mono_Posix_FileMode_S_IROTH) != 0)
60 if ((x & Mono_Posix_FileMode_S_IWOTH) != 0)
62 if ((x & Mono_Posix_FileMode_S_IXOTH) != 0)
67 int map_Mono_Posix_WaitOptions (int x)
70 if ((x & Mono_Posix_WaitOptions_WNOHANG) != 0)
72 if ((x & Mono_Posix_WaitOptions_WUNTRACED) != 0)
77 int map_Mono_Posix_AccessMode (int x)
80 if ((x & Mono_Posix_AccessMode_R_OK) != 0)
82 if ((x & Mono_Posix_AccessMode_W_OK) != 0)
84 if ((x & Mono_Posix_AccessMode_X_OK) != 0)
86 if ((x & Mono_Posix_AccessMode_F_OK) != 0)
91 int map_Mono_Posix_Signals (int x)
93 if (x == Mono_Posix_Signals_SIGHUP)
95 if (x == Mono_Posix_Signals_SIGINT)
97 if (x == Mono_Posix_Signals_SIGQUIT)
99 if (x == Mono_Posix_Signals_SIGILL)
101 if (x == Mono_Posix_Signals_SIGTRAP)
103 if (x == Mono_Posix_Signals_SIGABRT)
105 if (x == Mono_Posix_Signals_SIGBUS)
107 if (x == Mono_Posix_Signals_SIGFPE)
109 if (x == Mono_Posix_Signals_SIGKILL)
111 if (x == Mono_Posix_Signals_SIGUSR1)
113 if (x == Mono_Posix_Signals_SIGSEGV)
115 if (x == Mono_Posix_Signals_SIGUSR2)
117 if (x == Mono_Posix_Signals_SIGPIPE)
119 if (x == Mono_Posix_Signals_SIGALRM)
121 if (x == Mono_Posix_Signals_SIGTERM)
123 if (x == Mono_Posix_Signals_SIGCHLD)
125 if (x == Mono_Posix_Signals_SIGCONT)
127 if (x == Mono_Posix_Signals_SIGSTOP)
129 if (x == Mono_Posix_Signals_SIGTSTP)
131 if (x == Mono_Posix_Signals_SIGTTIN)
133 if (x == Mono_Posix_Signals_SIGTTOU)
135 if (x == Mono_Posix_Signals_SIGURG)
137 if (x == Mono_Posix_Signals_SIGXCPU)
139 if (x == Mono_Posix_Signals_SIGXFSZ)
141 if (x == Mono_Posix_Signals_SIGVTALRM)
143 if (x == Mono_Posix_Signals_SIGPROF)
145 if (x == Mono_Posix_Signals_SIGWINCH)
147 if (x == Mono_Posix_Signals_SIGIO)
149 if (x == Mono_Posix_Signals_SIGSYS)