btopen

hdrfmt *btopen(char *dbname, int rwflag, int *reason);


ptrMyFile = btopen("myfile.bt",UPDT,&iReason);

Locks database

Use ptrMyFile in other calls