zstd_get_frame_header(9)
okay so bestie, welcome to the page for zstd_get_frame_header(9) from the Kernel API Manual! β¨ It's giving frame-header-extraction realness, and we're gonna go through it together. No cap. π
π NAME π
zstd_get_frame_header β extracts the parameters from a zstd or skippable frame. That's it, that's the whole vibe. π
β¨ SYNOPSIS β¨
the signature, character for character, no edits bestie:
size_t zstd_get_frame_header (zstd_frame_header *params , const void *src , size_t src_size );
π ARGUMENTS π
paramsβ on success, the frame parameters are written here. β¨srcβ the source buffer. It must point to azstdor skippable frame. Like, that's not optional, bestie. π«Άsrc_sizeβ the size of the source buffer. π¦
π₯ RETURN π₯
return value check, bestie:
0β success. Slay. π- if more data is required β it returns how many bytes must be provided to make forward progress. π₯
- otherwise β it returns an error, and you can check that error using
zstd_is_error. π
π¦ SEE ALSO π¦
Kernel file: ./include/linux/zstd.h β that's the home base. π
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_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_compress_sequences_and_literals(9)
mwah π source/version: ./include/linux Β· date: October 2026 Β· page: zstd_get_frame_header(9) β bye bestie, ily! πΈ
π¦ 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