fdds_binfd - return the file descriptor (fd) associated with a binary file

SYNOPSIS

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

integer fdds_binfd(bin_tag)

integer bin_tag

DESCRIPTION

fdds_binfd returns the file descriptor (fd) of the binary file assicated with the field_tag. A value of -1 is returned on any error.

INPUT

bin_tag is a binary tag, previously obtained from fdds_open. It specifies a particular binary stream.

field_tag is the tag of the field for which the information is desired. A value of "0" will default to the trace (SEQUENCE).

EXAMPLE

integer bin, fd
...
fd = fdds_binfd(bin)
...
    

SEE ALSO

fdds_member Field member tag
fdds_next Field member next tag
fdds_prev Field member previous tag
fdds_parent Field member parent tag
fdds_prime Field member prime type tag
    

AUTHOR

Jerry Ehlers, BP America (May 2003)