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
putfld(), getdbtblrow(), dbnametofld()


Copyright © Thunderstone Software     Last updated: Dec 10 2018
Copyright © 2019 Thunderstone Software LLC. All rights reserved.