read


Description:

public int read (_block_t start, _key_t[]? records)

Read the next block of data from the key file.

Returns the number of records.

Parameters:

this

a KeyFile

start

The record pointer. This will be set to the next record pointer on success.

records

Records, allocated, must be freed with g_free, if != NULL.

len

Number of records read, if != NULL.

Returns:

-1 on io error.