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)
33 if ((x
& Mono_Posix_OpenFlags_O_SYNC
) != 0)
39 int map_Mono_Posix_FileMode (int x
)
42 if ((x
& Mono_Posix_FileMode_S_ISUID
) != 0)
44 if ((x
& Mono_Posix_FileMode_S_ISGID
) != 0)
46 if ((x
& Mono_Posix_FileMode_S_ISVTX
) != 0)
48 if ((x
& Mono_Posix_FileMode_S_IRUSR
) != 0)
50 if ((x
& Mono_Posix_FileMode_S_IWUSR
) != 0)
52 if ((x
& Mono_Posix_FileMode_S_IXUSR
) != 0)
54 if ((x
& Mono_Posix_FileMode_S_IRGRP
) != 0)
56 if ((x
& Mono_Posix_FileMode_S_IWGRP
) != 0)
58 if ((x
& Mono_Posix_FileMode_S_IXGRP
) != 0)
60 if ((x
& Mono_Posix_FileMode_S_IROTH
) != 0)
62 if ((x
& Mono_Posix_FileMode_S_IWOTH
) != 0)
64 if ((x
& Mono_Posix_FileMode_S_IXOTH
) != 0)
69 int map_Mono_Posix_WaitOptions (int x
)
72 if ((x
& Mono_Posix_WaitOptions_WNOHANG
) != 0)
74 if ((x
& Mono_Posix_WaitOptions_WUNTRACED
) != 0)
79 int map_Mono_Posix_AccessMode (int x
)
82 if ((x
& Mono_Posix_AccessMode_R_OK
) != 0)
84 if ((x
& Mono_Posix_AccessMode_W_OK
) != 0)
86 if ((x
& Mono_Posix_AccessMode_X_OK
) != 0)
88 if ((x
& Mono_Posix_AccessMode_F_OK
) != 0)
93 int map_Mono_Posix_Signals (int x
)
95 if (x
== Mono_Posix_Signals_SIGHUP
)
97 if (x
== Mono_Posix_Signals_SIGINT
)
99 if (x
== Mono_Posix_Signals_SIGQUIT
)
101 if (x
== Mono_Posix_Signals_SIGILL
)
103 if (x
== Mono_Posix_Signals_SIGTRAP
)
105 if (x
== Mono_Posix_Signals_SIGABRT
)
107 if (x
== Mono_Posix_Signals_SIGBUS
)
109 if (x
== Mono_Posix_Signals_SIGFPE
)
111 if (x
== Mono_Posix_Signals_SIGKILL
)
113 if (x
== Mono_Posix_Signals_SIGUSR1
)
115 if (x
== Mono_Posix_Signals_SIGSEGV
)
117 if (x
== Mono_Posix_Signals_SIGUSR2
)
119 if (x
== Mono_Posix_Signals_SIGPIPE
)
121 if (x
== Mono_Posix_Signals_SIGALRM
)
123 if (x
== Mono_Posix_Signals_SIGTERM
)
125 if (x
== Mono_Posix_Signals_SIGCHLD
)
127 if (x
== Mono_Posix_Signals_SIGCONT
)
129 if (x
== Mono_Posix_Signals_SIGSTOP
)
131 if (x
== Mono_Posix_Signals_SIGTSTP
)
133 if (x
== Mono_Posix_Signals_SIGTTIN
)
135 if (x
== Mono_Posix_Signals_SIGTTOU
)
137 if (x
== Mono_Posix_Signals_SIGURG
)
139 if (x
== Mono_Posix_Signals_SIGXCPU
)
141 if (x
== Mono_Posix_Signals_SIGXFSZ
)
143 if (x
== Mono_Posix_Signals_SIGVTALRM
)
145 if (x
== Mono_Posix_Signals_SIGPROF
)
147 if (x
== Mono_Posix_Signals_SIGWINCH
)
149 if (x
== Mono_Posix_Signals_SIGIO
)
151 if (x
== Mono_Posix_Signals_SIGSYS
)