Skip to content

Method: read

DadiBit edited this page Jul 15, 2022 · 1 revision

Description

Reads the current entry and moves to the next one (with fread()).

Declaration

kuli_t kuli_t read(kuli_t k, kuli_entry_t *dst, uint32_t n);

Arguments

  • kuli_t k the kuli interface
  • kuli_entry_t *dst the destination pointer where entry size and data should be stored
  • uint32_t n the maximum number of data bytes that should be read (eg: dst->data buffer size)

Returns

The kuli_t interface passed as argument.

Clone this wiki locally