range_overflows_t(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to range_overflows_t(9) from the Kernel API Manual β€” she’s small, she’s iconic, and she’s here to check a range. πŸŽ€βœ¨


🌸 NAME 🌸

range_overflows_t β€” check if a range is out of bounds. literally the whole point, no cap. πŸ’…


✨ SYNOPSIS ✨

range_overflows_t (type , start , size , max );

🫢 ARGUMENTS 🫢

  • type β€” data type to use. pick your fighter.
  • start β€” start of the range. the main character’s entrance.
  • size β€” size of the range. how much range we’re serving.
  • max β€” exclusive upper boundary. yes, exclusive β€” pay attention to that word πŸ‘€

πŸ¦‹ DESCRIPTION πŸ¦‹

same as range_overflows, but forcing the parameters to type. that’s the tea. if range_overflows is the blueprint, this is the version that’s like β€œokay but make the parameters be type.” periodt. πŸ’–


πŸ”₯ RETURN πŸ”₯

true if the range is out of bounds. that’s the return vibe, bestie. ✨


🌈 SEE ALSO 🌈

kernel file ./include/linux/overflow.h β€” that’s the home base. the whole overflow bestie roster is: check_add_overflow(9), wrapping_add(9), wrapping_assign_add(9), check_sub_overflow(9), wrapping_sub(9), wrapping_assign_sub(9), check_mul_overflow(9), wrapping_mul(9), check_shl_overflow(9), overflows_type(9), range_overflows(9), range_end_overflows(9), range_end_overflows_t(9), castable_to_type(9), size_mul(9), size_add(9), size_sub(9), array_size(9), array3_size(9), flex_array_size(9), struct_size(9), struct_size_t(9), struct_offset(9), __DEFINE_FLEX(9), _DEFINE_FLEX(9), DEFINE_RAW_FLEX(9), DEFINE_FLEX(9), STACK_FLEX_ARRAY_SIZE(9), typeof_flex_counter(9), overflows_flex_counter_type(9), __set_flex_counter(9). iykyk πŸ§šπŸ’œ


mwah πŸ’‹ β€” source/version: ./include/linux, date: October 2026, page: range_overflows_t(9). that’s the footer tea, folded into a cute sign-off. slay. πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from