getfld() - get a value from a field

SYNOPSIS

void *getfld
(
    FLD *f,
    size_t *pn
);


PARAMETERS

FLD *f

Field to retrieve the data from.
size_t *pn

Number of items in the struct.


DESCRIPTION
Gets a value from a field. This returns a pointer to the data stored in the field. The variable pointed to by pn is set to the number of items in the field. Note that this is not necessarily the number of bytes, as an element may be several bytes.


SEE ALSO
gettblrow(), nametofld()


Copyright © Thunderstone Software     Last updated: Apr 15 2024
Copyright © 2024 Thunderstone Software LLC. All rights reserved.