SilverScreen Solid Modeler

bt_find2

bt_find2

Previous topic Next topic  

bt_find2

Previous topic Next topic JavaScript is required for the print function  

SilverScreenAPI

Antiquated

 

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

 

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

char *key;               // the key to search for

int   record_number;     // record number to search for

 

 




Synopsis

#include "silver.h"

 

The bt_find2 function searches the b-tree database specified by handle for the entry matching key/record_number combination.

 

 

Parameters

handle is an open b-tree database handle, as obtained by a call to bt_open . key is a null-terminated text string that contains the key to search for. record_number is a sequential record number.

 

 

Return Value

The record number of the matching key is returned if the search is successful; and otherwise 0 is returned.

 

 

Comments

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

 

See Also

bt_find