bitmap_parse_user(9)
β¨ NAME β¨
okay so bestie, this is the bitmap_parse_user(9) page from the Kernel API Manual π
and it's all about turning an ASCII hex string in a user buffer into a bitmap. iconic behavior, honestly.
π SYNOPSIS π
int bitmap_parse_user (const char __user *ubuf , unsigned int ulen ,
unsigned long *maskp , int nmaskbits );
πΈ ARGUMENTS πΈ
ubufβ pointer to user buffer containing string. literally the spot where the string is hanging out.ulenβ buffer size in bytes. If string is smaller than this then it must be terminated with a . (yes, that blank-looking bit is exactly what the page says β no cap π)maskpβ pointer to bitmap array that will contain result. this is where the glow-up result goes.nmaskbitsβ size of bitmap, in bits.
π SEE ALSO π
- Kernel file
./lib/bitmap-str.c bitmap_print_to_buf(9)bitmap_print_bitmask_to_buf(9)bitmap_print_list_to_buf(9)bitmap_parselist(9)bitmap_parselist_user(9)bitmap_parse(9)
mwah π source/version: ./lib, date: October 2026, page: bitmap_parse_user(9). periodt π«Ά
π¦ 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