MKC_CHECK_SIZEOF(1)

πŸ’– NAME πŸ’–

okay so bestie, this is the MKC_CHECK_SIZEOF(1) manual page, and it's about mkc_check_sizeof β€” the tool that detects a sizeof(type). iconic behavior ✨

✨ SYNOPSIS ✨

mkc_check_sizeof [OPTIONS] type [headers...]

πŸ¦‹ DESCRIPTION πŸ¦‹

mkc_check_sizeof detects sizeof( type ) by compiling a test program. important: the compiled program is not executed, so this check is ready for cross-compiling. no cap 🫢

headers is either a single header file or a list of headers, separated by comma.

πŸŽ€ OPTIONS πŸŽ€

  • -h β€” display help message. helpful queen behavior.

🌈 ENVIRONMENT 🌈

  • CC β€” compiler. By default cc is used.
  • CPPFLAGS, CFLAGS β€” options passed to the compiler.
  • MKC_VERBOSE β€” if set to 1, verbose messages are output to stderr.
  • MKC_SHOW_CACHED β€” if set to 1 and MKC_VERBOSE is set to 1, cached results are output to stderr.
  • MKC_CACHEDIR β€” directory where temporary and cache files are created. If unset, they are created in a current directory.
  • MKC_NOCACHE β€” all results are cached unless the MKC_NOCACHE variable is set to 1.
  • MKC_DELETE_TMPFILES β€” if set to 1, temporary files are removed.

πŸ“ EXAMPLES πŸ“

mkc_check_sizeof 'void*'
mkc_check_sizeof long-long
mkc_check_sizeof size_t stdlib.h

like, run these and let the size-checking vibe check begin πŸ’…

πŸ‘‘ AUTHOR πŸ‘‘

shoutout to Aleksey Cheusov <vle@gmx.net> for writing this one β€” author royalty πŸ‘‘


and that's the whole page, bestie: it's dated Mar 31, 2019, and the manual name is MKC_CHECK_SIZEOF(1) β€” mwah πŸ’‹

πŸ“¦ where this page comes from