utf16_le_to_7bit(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so bestie, welcome to the Kernel API Manual page for utf16_le_to_7bit(9) ✨. It naively converts a UTF-16LE string to 7-bit ASCII characters β€” that’s literally the whole gig, no cap πŸ’….

✨ SYNOPSIS ✨

void utf16_le_to_7bit (const __le16 *in , unsigned int size , u8 *out );

πŸŽ€ ARGUMENTS πŸŽ€

  • in β€” input UTF-16LE string 🌈
  • size β€” size of the input string πŸ’«
  • out β€” output string ptr, should be capable to store size+1 characters 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

So it converts size UTF16-LE symbols from the in string to 7-bit ASCII characters and stores them to out. Then it adds a trailing zero to the out array ⭐. That’s it, that’s the lore πŸ’–.

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./block/partitions/efi.c and these iconic functions: efi_crc32(9), last_lba(9), is_pmbr_valid(9), read_lba(9), alloc_read_gpt_entries(9), alloc_read_gpt_header(9), is_gpt_valid(9), is_pte_valid(9), compare_gpts(9), find_valid_gpt(9), efi_partition(9) πŸ‘‘


k bye bestie 🫢✨ β€” this utf16_le_to_7bit(9) page is signing off from source/version ./block/partitions, dated October 2026 πŸ’œπŸŽ€

πŸ“¦ where this page comes from