|
||
Antiquated |
int bt_insert( int handle, char *key, int record_number )
int handle; // an open b-tree database handle char *key; // the key to insert int record_number; // where to insert it
|
|
||
Synopsis |
#include "silver.h"
The bt_insert function inserts a new entry, key , in the b-tree database index file designated by handle , for the record specified by record_number .
|
|
||
Parameters |
handle is an open b-tree database handle, as obtained by a call to bt_open . key is the new key value to store in the index. record_number is the sequential record number, typically obtained by a previous call to bt_store .
|
|
||
Return Value |
bt_insert returns 0 if the entry matches an existing entry, or if the record_number is less than or equal to 0; otherwise, 1 is returned.
|
|
||
Comments |
The btree-family of functions is not available in SilverSharp, except by means of P/Invoke. |
|
||
See Also |
|
|
||
Example |
|
|