SilverScreen Solid Modeler

bt_write

bt_write

Previous topic Next topic  

bt_write

Previous topic Next topic JavaScript is required for the print function  

SilverScreenAPI

Antiquated

 

int bt_write( int handle, int record_number, char *buf )

 

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

int   record_number;      // the record number of the record to write

char *buf;                // pointer to new record

 

 




Synopsis

#include "silver.h"

 

The bt_write function writes a new record to the b-tree database file associated with handle at the location specified by record number .

 

 

Parameters

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

 

 

Return Value

bt_write returns 1 if successful, and 0 if not.

 

 

Comments

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

 

See Also

bt_read