recidvalid() - determine if a RECID pointer is valid

SYNOPSIS

int recidvalid(RECID *recid);


PARAMETERS

RECID *recid

Record ID to look at.


DESCRIPTION
Takes a record ID and returns 1 if it is valid, and 0 if it is not valid. This function takes the return from getdbtblrow() and putdbtblrow(), and determines whether the record ID is valid. While NULL is the most common invalid value, it is not the only one, so this function should be used when looking at return codes.


SEE ALSO
getdbtblrow(), putdbtblrow()


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