SilverScreen Solid Modeler

bt_create_data

bt_create_data

Previous topic Next topic  

bt_create_data

Previous topic Next topic JavaScript is required for the print function  

SilverScreenAPI

Antiquated

 

int bt_create_data( char *file_name, int record_size )

 

char *file_name;         // the name of the data file to create

int   record_size;       // size of each record

 

 




Synopsis

#include "silver.h"

 

The bt_create_data function creates an empty b-tree database data file.

 

 

Parameters

file_name is a null-terminated string specifying the name of the file desired. record_size is the desired size in bytes of each record in the database; record_size must be greater than 10 bytes, and less than 4096 bytes.

 

 

Return Value

bt_create_data returns 1 if successful, and 0 otherwise.

 

 

Comments

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

 

See Also

bt_create_tree , bt_open