xdr_encode_bool(9)
π NAME π
xdr_encode_bool β encodes one (1) boolean item, no cap, no stress β¨
okay so bestie, quick vibe check: this is the manual page for xdr_encode_bool(9), living its best life in the Kernel API Manual. It's a tiny little function that takes a boolean and yeets it into a buffer. That's the whole plot π
π¦ SYNOPSIS π¦
__be32 * xdr_encode_bool (__be32 *p , u32 n );
πΈ ARGUMENTS πΈ
pβ the address in a buffer into which to encode. like, this is where the boolean is gonna live, so hand it over gently π«Άnβ the boolean value to encode. yes it's typedu32, yes that's intentional, don't come for her π
β RETURN β
It hands you back the address of the item following the encoded boolean. so like, the next free spot β main character energy, always pointing forward π
π₯ SEE ALSO π₯
Kernel file ./include/linux/sunrpc/xdr.h, plus literally the entire xdr cinematic universe, bestie β go read these too, iykyk:
xdr_set_scratch_buffer(9)xdr_set_scratch_folio(9)xdr_reset_scratch_buffer(9)xdr_commit_encode(9)xdr_stream_remaining(9)xdr_align_size(9)xdr_pad_size(9)xdr_stream_encode_item_present(9)xdr_stream_encode_item_absent(9)xdr_stream_encode_bool(9)xdr_stream_encode_u32(9)xdr_stream_encode_be32(9)xdr_stream_encode_u64(9)xdr_stream_encode_opaque_inline(9)xdr_stream_encode_opaque_fixed(9)xdr_stream_encode_opaque(9)xdr_stream_encode_uint32_array(9)xdr_item_is_absent(9)xdr_item_is_present(9)xdr_stream_decode_bool(9)xdr_stream_decode_u32(9)xdr_stream_decode_be32(9)xdr_stream_decode_u64(9)xdr_stream_decode_opaque_fixed(9)xdr_stream_decode_opaque_inline(9)xdr_stream_decode_uint32_array(9)
and that's the whole page, bestie π§π this came out of ./include/linux/sunrpc, dated October 2026 β obsessed, iconic, 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