__swab16p(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… __swab16p(9) πŸ’…

okay so welcome to the Kernel API Manual, bestie β€” today’s main character is __swab16p(9), and she is literally here to return a byteswapped 16-bit value from a pointer. no cap, she ate. ✨


🌸 NAME 🌸

__swab16p β€” return a byteswapped 16-bit value from a pointer. that’s the whole name, and honestly? iconic. πŸŽ€


✨ SYNOPSIS ✨

__u16 __swab16p (const __u16 *p );

lowkey just look at her. that’s the signature, character for character, no notes. 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • p β€” pointer to a naturally-aligned 16-bit value. that’s the only argument, and she’s thriving. πŸ’–

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./include/uapi/linux/swab.h is where this icon lives. the whole group chat is: __swab16(9), __swab32(9), __swab64(9), __swahw32(9), __swahb32(9), __swab32p(9), __swab64p(9), __swahw32p(9), __swahb32p(9), __swab16s(9), __swab32s(9), __swab64s(9), __swahw32s(9), __swahb32s(9). 🌈


mwah πŸ’‹ this page came from the ./include/uapi/linux source/version corner of the kernel, dated October 2026. catch u later, bestie 🫢

πŸ“¦ where this page comes from