#include <mach/mig_errors.h> also included by
<mach/mach.h>mach/mig_errors.h
structmig_reply_error_t
Whenever MIG detects an error, it sends back a generic
mig_reply_error_t format message. Clients must accept
these in addition to the expected reply message format.
| mach_msg_header_t | Head | |
| NDR_record_t | NDR | |
| kern_return_t | RetCode |
typedefmig_reply_error_t
typedef struct mig_reply_error_t mig_reply_error_t;
function__NDR_convert__mig_reply_error_t
static __inline__ void __NDR_convert__mig_reply_error_t(__unused mig_reply_error_t *x)
▾
claude-fable-5, 2026-08-24 · not from Apple sources · verified against xnu osfmk/mach/mig_errors.h
Inline NDR conversion helper for mig_reply_error_t, used by MIG-generated code. If an integer-representation converter for kern_return_t is defined and the reply's NDR record indicates a different integer representation than the local NDR_record, converts the RetCode field; on Apple platforms, where no such converter is defined, it compiles to a no-op.