rfio_fflush

Langue: en

Version: $Date: 2005/03/31 13:13:02 $ (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

NAME

rfio_fflush - flush a file

SYNOPSIS

#include <sys/types.h>
#include "rfio_api.h"

int rfio_fflush (FILE *fp);

DESCRIPTION

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.

SEE ALSO

rfio_fopen(3)

AUTHOR

LCG Grid Deployment Team