hopen

hdrfmt *hopen(char *dbname, int rwflag, int lockflag, int *reason);


ptrMyFile = hopen("myfile.hsh",UPDT,LOCK,&iReason);

Use ptrMyFile in other calls