rfio_fflush3
Flush a file
Usage
#include <sys/types.h>
#include "rfio_api.h"
int rfio_fflush (FILE *fp);
Overview
rfio_fflush forces a write of all buffered data for the file whose descriptor fp is the one returned by rfio_fopen. The file remains open.
Return value
This routine returns 0 if successful, -1 if the operation failed and serrno is set appropriately.
Errors
EBADF
|
fp is not a valid file descriptor. |
|---|---|
SEBADVERSION
|
Version ID mismatch. |
Releases
Unchanged in 5 releases since Debian 6.0 (Squeeze).