.
[kopensolaris-gnu/glibc.git] / mach / mach_shortcuts.c
1 #include <mach/mach_types.h>
2 #include <mach/mach_port.h>
3
4 #define SHORTCUT(name, number, args, typed_args)                              \
5 kern_return_t __##name typed_args                                             \
6 {                                                                             \
7   kern_return_t ret = __syscall_##name args;                                  \
8   if (ret == MACH_SEND_INTERRUPTED)                                           \
9     ret = __mig_##name args;                                                  \
10   return ret;                                                                 \
11 }
12
13 #include "mach_shortcuts.h"