| xHarbour Reference Documentation > Function Reference |
![]() |
![]() |
![]() |
Forces a disk write.
HB_FCommit( <nFileHandle> ) --> NIL
The return value is always NIL.
HB_FCommit() forces a hard disk write and flushes pending memory buffers to the file <nFileHandle>, previously opened with FCReate(), FOpen() or HB_FCreate().
The function is only required in multi-threaded programs when multiple threads write data to the same file handle.
| See also: | HB_FCreate(), HB_OsError() |
| Category: | File functions , Low level file functions , xHarbour extensions |
| Source: | rtl\philes.c |
| LIB: | xhb.lib |
| DLL: | xhbdll.dll |
http://www.xHarbour.com