cdds_fflush - flush DDS binary stream
SYNOPSIS
#include "cdds.h"
int cdds_fflush(bin);
-
BIN_TAG bin
[ Input
| Output
| Examples
]
DESCRIPTION
This function flushes all or a selected binary stream.
INPUT
Bin is a binary tag, previously obtained from
cdds_open.
It specifies a particular binary stream. If the binary is sliced,
then each slice stream is flushed. If the binary tag is negative,
then all output streams are flushed.
OUTPUT
The binary buffer(s) is(are) flushed to the operating system.
The return value is zero, or -1 if an error occurred.
EXAMPLES
-
BIN_TAG bin;
...
/* flush a specific output stream */
cdds_fflush(bin);
...
/* flush all output streams */
cdds_fflush(-1);
SEE ALSO
cdds_lseek Logical seek
AUTHOR
Jerry Ehlers, BP America (May 2003)