SilverScreen Solid Modeler

bt_set_key

bt_set_key

Previous topic Next topic  

bt_set_key

Previous topic Next topic JavaScript is required for the print function  

SilverScreenAPI

Antiquated

 

int bt_set_key( int handle, char *key )

 

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

char *key;          // key value used in search

 

 




Synopsis

#include "silver.h"

 

The bt_set_key function positions the read marker if the b-tree database index associated with handle corresponding to the key value specified by key .

 

 

Parameters

handle is an open b-tree database handle, as obtained by a call to bt_open . key contains the key to search for.

 

 

Return Value

If key exists in the index, then bt_set_key will position the read marker to that location, and return 1; otherwise, the read marker will be positioned to the next higher location, and 0 will be returned

 

 

Comments

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

 

See Also

bt_next , bt_previous