INT(3)

πŸ“¦ version 93vu, in opensuse-leap 16.0

okay so this is INT(3) from the Library Functions Manual β€” and it’s literally the friend who shows up with all the integral type macros, no cap πŸ’…

πŸ’– NAME πŸ’–

int β€” integral type macros. that’s the vibe: macros for integral types, periodt ✨

✨ SYNOPSIS ✨

#include <int.h>

🌸 DESCRIPTION 🌸

This header defines macros for the local integral types. local! important! 🫢

  • int_1, int_2 and int_4 β€” always defined to integral types with a size of 1, 2 and 4 bytes respectively. iconic, reliable, always there πŸ’–
  • int_n β€” where n is a power of 2 greater than 4, these are defined if the type is supported. so not every n, bestie β€” only when the type is actually supported πŸ¦‹
  • int_max β€” defined to be the largest support integral type. yes, that’s the exact tea from the page πŸ‘‘
  • int_swap β€” the swap(3) operation that converts a local int to canonical big-endian representation. endianness? handled πŸ”₯

πŸ¦‹ SEE ALSO πŸ¦‹

  • swap(3) β€” go read that one too, bestie πŸ’œ

byeee β€” that’s INT(3) from the Library Functions Manual, and the footer is just INT(3) with no extra source/version/date lore on this page πŸŽ€πŸ’…

πŸ“¦ where this page comes from