SilverScreen Solid Modeler

bt_update

bt_update

Previous topic Next topic  

bt_update

Previous topic Next topic JavaScript is required for the print function  

SilverScreenAPI

Antiquated

 

int bt_update( int handle, char *key, int record_number )

 

int   handle;             // an open b-tree database handle

char *key;                // new key value

int   record_number;      // new record number

 

 




Synopsis

#include "silver.h"

 

The bt_update function updates the index entry for the last entry obtained via bt_next , bt_previous , bt_find or bt_find2 .

 

 

Parameters

handle is an open b-tree database handle, as obtained by a call to bt_open . key is the new key value. record_number is the new sequential record number.

 

 

Return Value

bt_update returns 1 if successful, and 0 if not.

 

 

Comments

The btree-family of functions is not available in SilverSharp, except by means of P/Invoke.