C++程序  |  27行  |  660 B

/* Generated by ./xlat/gen.sh from ./xlat/mlockall_flags.in; do not edit. */
#if !(defined(MCL_CURRENT) || (defined(HAVE_DECL_MCL_CURRENT) && HAVE_DECL_MCL_CURRENT))
# define MCL_CURRENT 1
#endif
#if !(defined(MCL_FUTURE) || (defined(HAVE_DECL_MCL_FUTURE) && HAVE_DECL_MCL_FUTURE))
# define MCL_FUTURE 2
#endif
#if !(defined(MCL_ONFAULT) || (defined(HAVE_DECL_MCL_ONFAULT) && HAVE_DECL_MCL_ONFAULT))
# define MCL_ONFAULT 4
#endif

#ifdef IN_MPERS

# error static const struct xlat mlockall_flags in mpers mode

#else

static
const struct xlat mlockall_flags[] = {
 XLAT(MCL_CURRENT),
 XLAT(MCL_FUTURE),
 XLAT(MCL_ONFAULT),
 XLAT_END
};

#endif /* !IN_MPERS */