xHarbour Reference Documentation > Function Reference |
Closes a HiPer-SEEK index file.
HS_Close( <nHsxHandle> ) --> nErrorCode
The function returns a numeric value. Positive 1 indicates that the file is successfully closed, while negative numbers identify an error condition.
Error codes of HS_Close()
Value | Description |
---|---|
-4 | Error while attempting to seek during buffer flushing. |
-6 | Write error during buffer flushing. |
-16 | Invalid parameters are passed. |
HS_Close() closes a HiPer-SEEK index file previously opened with HS_Create() or HS_Open(). This ensures that all memory buffers used are flushed to an index file before program termination.
See also: | HS_Create(), HS_Open() |
Category: | Database functions , HiPer-SEEK functions , Index functions , xHarbour extensions |
Source: | rdd\hsx\hsx.c |
LIB: | lib\xhb.lib |
DLL: | dll\xhbdll.dll |
http://www.xHarbour.com