btopen

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


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

Use ptrMyFile in other calls