mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 10:50:07 +00:00
14 lines
387 B
C
14 lines
387 B
C
#include <mach/mach_types.h>
|
|
#include <mach/mach_port.h>
|
|
|
|
#define SHORTCUT(name, number, args, typed_args) \
|
|
kern_return_t __##name typed_args \
|
|
{ \
|
|
kern_return_t ret = __syscall_##name args; \
|
|
if (ret == MACH_SEND_INTERRUPTED) \
|
|
ret = __mig_##name args; \
|
|
return ret; \
|
|
}
|
|
|
|
#include "mach_shortcuts.h"
|