xdr_stream_decode_bool(9)
β¨ xdr_stream_decode_bool(9) β the Kernel API Manual page, bestie edition β¨
Okay so welcome to xdr_stream_decode_bool(9) from the Kernel API Manual β this is the little function that literally decodes a boolean, and yes, it's giving tiny-but-iconic π
.
π NAME π
xdr_stream_decode_bool β decode a boolean. That's the whole assignment, no cap.
πΈ SYNOPSIS πΈ
ssize_t xdr_stream_decode_bool (struct xdr_stream *xdr , __u32 *ptr );
π¦ ARGUMENTS π¦
xdrβ pointer toxdr_stream(the stream in question, main character energy fr).ptrβ pointer to au32in which to store the result. That's where the decoded bool lands, bestie.
π RETURN π
0on success β¨-EBADMSGon XDR buffer overflow π
Like, if the XDR buffer overflows, it does not slay β it hits you with -EBADMSG.
π SEE ALSO π
Kernel file ./include/linux/sunrpc/xdr.h β plus the whole friend group:
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_encode_bool(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_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)
Source/version corner π«Ά: ./include/linux/sunrpc, dated October 2026, and it's the xdr_stream_decode_bool(9) page. Obsessed. 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