cddsclose - DDS, close binary stream
SYNOPSIS
#include "cdds.h"
int cdds_close(bin);
-
BIN_TAG bin
DESCRIPTION
This function closes a data stream used for binary i/o.
Buffers are flushed, memory is freed and associated dictionaries
are closed.
INPUT
Bin is a binary tag,
previously obtained from cdds_open.
OUTPUT
The return value is zero, or negative if an error occurred.
EXAMPLE
-
BIN_TAG bin;
...
/* close binary tag */
cdds_close(bin);
SEE ALSO
cdds_open Open binary stream
AUTHOR
R. L. Selzler, EPTG (Oct 1995)