Go to main content

man pages section 3: DAX Library Functions

Exit Print View

Updated: Friday, August 13, 2021
 
 

dax_zip_free (3DAX)

Name

dax_zip_free - free codec

Synopsis

cc [ flag... ] file... -ldax [ library...]

#include <dax.h>

dax_status_t dax_zip_free(dax_context_t *ctx, dax_zip_t *codec);

Description

This function frees a zip codec that was created by the dax_zip_create(), dax_zip_create_contig(), or dax_encode() functions. If a codec used in a posted DAX request is freed before the request has completed, the results are undefined.

If the function returns an error, the codec is not freed.

Return Values

DAX_SUCCESS

Operation completed successfully

DAX_ETHREAD

The calling thread did not create ctx

Attributes

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/library
Interface Stability
Committed

See Also

dax_zip_create(3DAX), dax_zip_create_contig(3DAX), dax_encode(3DAX), libdax(3LIB)