ndelay(9)
β¨ ndelay β¨
okay so you're reading a page from the Kernel API Manual (ndelay(9)) β welcome, bestie, you're in the right place π
π NAME π
ndelay β inserting a delay based on nanoseconds with busy waiting π
like, yes, the kernel will just sit there spinning while the nanoseconds tick by. no sleeping, no napping, no vibe check on the scheduler. it's giving "spin class" energy π₯
πΈ SYNOPSIS πΈ
void ndelay (unsigned long nsec );
π¦ ARGUMENTS π¦
nsecβ the requested delay, measured in nanoseconds β±οΈβ¨ (it's anunsigned long, so be normal about it)
π DESCRIPTION π
so this page is lowkey a redirect, ngl β for the basics about ndelay and it's variants, you wanna go read udelay. that's the main character of this little delay family π go check it out, iykyk.
π SEE ALSO π
- Kernel file
./include/asm-generic/delay.h udelay(9)
and that's the whole page!! π«Ά this lil cutie lives over in ./include/asm-generic and it's dated October 2026, so likeβ¦ mark your calendar bestie ποΈβ¨ bye ily, go blink some nanoseconds away ππ₯°
π¦ 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