putfld() - put a value into a field.

SYNOPSIS

void putfld
(
    FLD *f,
    void *buf,
    size_t n
);


PARAMETERS

FLD *f

The field to add the value to.
void *buf

Pointer to the data to add to the field.
size_t n

The number of elements.


DESCRIPTION
This function puts the pointer in buf into the field. The data pointed to by buf must stay valid until the value in field is no longer needed. N is the number of elements in the buffer, not the number of bytes. For example if you had 2 integers pointed to by buf, and f was an integer field, n should be set to 2.


SEE ALSO
putdbtblrow(), getfld()


Copyright © Thunderstone Software     Last updated: May 29 2020
Copyright © 2020 Thunderstone Software LLC. All rights reserved.