Module nix::macros

source ·

Macros

  • feature 🔒
  • The libc_bitflags! macro helps with a common use case of defining a public bitflags type with values from the libc crate. It is used the same way as the bitflags! macro, except that only the name of the flag value has to be given.
  • libc_enum 🔒
    The libc_enum! macro helps with a common use case of defining an enum exclusively using values from the libc crate. This macro supports both pub and private enums.