zstd_free_cdict(9)
π zstd_free_cdict β the Kernel API Manual glow-up
okay so bestie, welcome to the Kernel API Manual β¨ this one's a lil baby page but it's important, i promise. it's giving "small but mighty" π
πΈ NAME πΈ
zstd_free_cdict β free that compression dictionary, bestie. it's the cleanup era, we're releasing things π
β¨ SYNOPSIS β¨
size_t zstd_free_cdict (zstd_cdict* cdict );
like yes, that's the whole thing. she's short. she's sweet. she's size_t for some reason and we'll get to that π
π¦ ARGUMENTS π¦
cdictβ pointer to the compression dictionary. that's it. that's the whole vibe check. hand it over and it gets freed π
β RETURN β
always returns 0. every single time. no drama, no error codes, no surprises β always 0. iconic behaviour honestly, more functions should be this unproblematic π«Ά
π₯ SEE ALSO π₯
so there's kind of a whole friend group here, prepare yourself π the kernel file lives at ./include/linux/zstd.h and the whole zstd squad is:
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_compress_using_cdict(9)zstd_dctx_workspace_bound(9)zstd_init_dctx(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)
like that's a whole rota, go read them all, iykyk π
ngl this page is like two lines of actual content but she's valid, every free needs its moment okay π
and that's the whole page bestie π brought to you by the source at ./include/linux, dated October 2026 β slay, see you in the next manpage π§β¨π
π¦ 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