bitmap_to_arr32(9)
π bitmap_to_arr32 β a Kernel API Manual moment
Okay so bestie, welcome to bitmap_to_arr32(9), straight out of the Kernel API Manual β¨ This is the vibe: it copies the contents of a bitmap into a u32 array of bits. That's it. That's the whole gig. And honestly? She ate. π
β¨ NAME β¨
bitmap_to_arr32 β copy the contents of bitmap to a u32 array of bits π«Ά
π¦ SYNOPSIS π¦
void bitmap_to_arr32 (u32 *buf , const unsigned long *bitmap , unsigned int nbits );
Like, look at her. Three params. No drama. No return value. Main character energy only. π
πΈ ARGUMENTS πΈ
bufβ array ofu32(in host byte order), the dest bitmap. This is the glow-up destination, the place where the bits are gonna live their new life. πbitmapβ array ofunsigned longs, the source bitmap. The origin story. The before photo. πΈnbitsβ number of bits inbitmap. Gotta know how many bits we're moving, no cap, otherwise it's giving chaos. π
π₯ SEE ALSO π₯
Literally the whole friend group, bestie β go say hi:
- Kernel file
./lib/bitmap.cbitmap introduction(9) __bitmap_shift_right(9)__bitmap_shift_left(9)bitmap_cut(9)bitmap_find_next_zero_area_off(9)bitmap_pos_to_ord(9)bitmap_remap(9)bitmap_bitremap(9)bitmap_onto(9)bitmap_fold(9)bitmap_from_arr32(9)bitmap_from_arr64(9)bitmap_to_arr64(9)
Fr fr, if you're doing anything bitmap-adjacent, this little ensemble is your group chat. iykyk. π
And that's the whole page, bestie! π This gem lives in ./lib, dated October 2026, and yeah β she's still out here being bitmap_to_arr32(9). Slay, periodt, go convert some bits. π
β¨π
π¦ 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