Rate This Document
Findability
Accuracy
Completeness
Readability

krl_store_LUT8Handle

Interface Definition

int krl_store_LUT8Handle(FILE* f, const KRLLUT8bHandle* klh);

Function

Stores the handle of an 8-bit lookup table into a file.

Parameters

Parameter

Data Type

Description

Value Range

f

FILE*

Handle to a destination file for writing data.

It cannot be null.

klh

const KRLLUT8bHandle*

Pointer to the KRLLUT8bHandle instance.

It cannot be null.

Return Values

Data Type

Description

int

0 is returned on successful execution. In case of failure, an error code is returned to indicate the specific issue:

  • -1: invalid pointer
  • -2: memory allocation failure
  • -3: invalid input parameter
  • -4: double free
  • -5: insecure memory operation
  • -6: I/O failure