<< Previous | Next >> | |
|
Description
- Flush any buffers, associated with the given file, retained in RAM to the underlying hardware device. This ensures that the file is completely written to the filesystem. The file system does not currently perform any buffering, however future revisions of this library may introduce buffering to improve performance.
Parameters
- f
- Pointer to open file descriptor.
Return value
0
: Success.
!0
: Failure.ERRNO values
EBADFD
- file invalid or not open.
EIO
- I/O error.Library
- fs2.LIB
See also
- fs_sync (FS2)
Dynamic C Functions | << Previous | Next >> | rabbit.com |