xref: /kernel/linux/linux-6.6/tools/build/feature/test-lzma.c
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/tools/build/feature/
162306a36Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci#include <lzma.h>
362306a36Sopenharmony_ci
462306a36Sopenharmony_ciint main(void)
562306a36Sopenharmony_ci{
662306a36Sopenharmony_ci	lzma_stream strm = LZMA_STREAM_INIT;
762306a36Sopenharmony_ci	int ret;
862306a36Sopenharmony_ci
962306a36Sopenharmony_ci	ret = lzma_stream_decoder(&strm, UINT64_MAX, LZMA_CONCATENATED);
1062306a36Sopenharmony_ci	return ret ? -1 : 0;
1162306a36Sopenharmony_ci}
12

Indexes created Thu Nov 07 10:32:03 CST 2024