check_input_range(9)
β¨ check_input_range(9) β¨
okay so welcome to the Kernel API Manual, bestie π this one is short and sweet and it's literally all about checking whether the requested range is valid. no cap.
π NAME π
check_input_range β check if the requested range is valid. that's the name, that's the vibe, periodt π
π¦ SYNOPSIS π¦
int check_input_range (unsigned long start , size_t len_in );
πΈ ARGUMENTS πΈ
startβ start address of the madvise-requested address range. like, where the range begins, bestie πlen_inβ length of the madvise-requested address range. the size of the range you're asking about, fr fr π
π RETURN π
It gives you 0 if the input range is valid. otherwise? you get an error code. that's the whole return situation, iconic and straightforward β¨
π SEE ALSO π
- Kernel file
./mm/madvise.c
that's it, that's the see-also. go peek at the kernel file if you're curious, iykyk π«Ά
β brought to you by ./mm, October 2026, and check_input_range(9) ππ¦π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms