SilverScreen Solid Modeler

bt_find

bt_find

Previous topic Next topic  

bt_find

Previous topic Next topic JavaScript is required for the print function  

SilverScreenAPI

Antiquated

 

int bt_find( int handle, char *key )

 

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

char *key;         // the key to search for

 

 




Synopsis

#include "silver.h"

 

The bt_find function searches the b-tree database specified by handle for the entry matching key.

 

 

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.

 

 

Return Value

The record number of the first matching entry is returned. If handle is invalid, 0 is returned.

 

 

Comments

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

 

See Also

bt_find2