SilverScreen Solid Modeler

bt_store

bt_store

Previous topic Next topic  

bt_store

Previous topic Next topic JavaScript is required for the print function  

SilverScreenAPI

Antiquated

 

int bt_store( int handle, void *buf )

 

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

void *buf;          // new record data

 

 




Synopsis

#include "silver.h"

 

The bt_store function creates a new record in the b-tree database data file associated with handle .

 

 

Parameters

handle is an open b-tree database handle, as obtained by a call to bt_open. buf is a pointer to a buffer containing the new record data; it is assumed that this buffer is at least as large as the database record size.

 

 

Return Value

bt_store returns the record number of the newly created record.

 

 

Comments

bt_insert is normally called after bt_store to add the index entry for the new record.

 

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

 

 

See Also

bt_insert