cd_close - DDS, close binary stream


SYNOPSIS

#include <fdds.h> (fixed-format sources)
#include <f90dds.h> (free-format sources)

integer function fdds_close(bin)

integer 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 fdds_open.

OUTPUT

The return value is zero, or negative if an error occurred.

EXAMPLE

      integer bin
      ...
      ! close binary tag
      j = fdds_close(bin)
    

SEE ALSO

fdds_open Open DDS binary stream
    

AUTHOR

R. L. Selzler, EPTG (May, 1994)