initial commit
[glibc.git] / sysdeps / mach / include / mach / mach_traps.h
1 #ifndef _MACH_MACH_TRAPS_H
2 #include_next <mach/mach_traps.h>
3
4 #ifndef _ISOMAC
5 extern mach_port_t __mach_reply_port (void);
6 libc_hidden_proto (__mach_reply_port)
7 extern mach_port_t __mach_thread_self (void);
8 libc_hidden_proto (__mach_thread_self)
9 extern mach_port_t (__mach_task_self) (void);
10 libc_hidden_proto (__mach_task_self)
11 extern mach_port_t (__mach_host_self) (void);
12 libc_hidden_proto (__mach_host_self)
13 extern boolean_t __swtch (void);
14 libc_hidden_proto (__swtch)
15 extern boolean_t __swtch_pri (int priority);
16 libc_hidden_proto (__swtch_pri)
17 kern_return_t __thread_switch (mach_port_t new_thread,
18 int option, mach_msg_timeout_t option_time);
19 libc_hidden_proto (__thread_switch)
20 kern_return_t __evc_wait (unsigned int event);
21 libc_hidden_proto (__evc_wait)
22 #endif
23 #endif