zstd_init_dctx(9)
πΈ NAME πΈ
okay so this is zstd_init_dctx(9), straight from the Kernel API Manual, and it's literally the βspin up a zstd decompression contextβ girlie π
zstd_init_dctx β initialize a zstd decompression context. no cap, that's the whole job β¨
β¨ SYNOPSIS β¨
zstd_dctx * zstd_init_dctx (void *workspace , size_t workspace_size );
π ARGUMENTS π
workspaceβ the workspace you're emplacing the context into π«Ά it must outlive the returned context, fr fr. don't let it ghost early.workspace_sizeβ the size ofworkspaceπΈ usezstd_dctx_workspace_boundto determine how large the workspace must be. that's your vibe check for the size, bestie.
π¦ RETURN π¦
a zstd decompression context, or NULL on error π that's it. that's the return.
π SEE ALSO π
the whole friend group is here, and yes they're all invited to the group chat π:
- Kernel file:
./include/linux/zstd.h zstd_compress_bound(9)zstd_is_error(9)zstd_get_error_code(9)zstd_get_error_name(9)zstd_min_clevel(9)zstd_max_clevel(9)zstd_default_clevel(9)zstd_get_params(9)zstd_get_cparams(9)zstd_cctx_set_param(9)zstd_cctx_workspace_bound(9)zstd_cctx_workspace_bound_with_ext_seq_prod(9)zstd_init_cctx(9)zstd_compress_cctx(9)zstd_create_cctx_advanced(9)zstd_free_cctx(9)zstd_create_cdict_byreference(9)zstd_free_cdict(9)zstd_compress_using_cdict(9)zstd_dctx_workspace_bound(9)zstd_decompress_dctx(9)zstd_create_ddict_byreference(9)zstd_free_ddict(9)zstd_create_dctx_advanced(9)zstd_free_dctx(9)zstd_decompress_using_ddict(9)zstd_cstream_workspace_bound(9)zstd_cstream_workspace_bound_with_ext_seq_prod(9)zstd_init_cstream(9)zstd_reset_cstream(9)zstd_compress_stream(9)zstd_flush_stream(9)zstd_end_stream(9)zstd_dstream_workspace_bound(9)zstd_init_dstream(9)zstd_reset_dstream(9)zstd_decompress_stream(9)zstd_find_frame_compressed_size(9)zstd_get_frame_header(9)zstd_compress_sequences_and_literals(9)
kisses bestie π this page is from ./include/linux (that's the source/version, mwah) and it's dated October 2026 β iconic footer behavior, 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