NAME

hclose - close the seplib output history file


SYNOPSIS

        void hclose ()


DESCRIPTION

Closes the stdout SEPLIB history file


COMMENTS

The end of a history file is delimited by a ctrl D (octal 004) so that seismic data can be placed in back of it e.g. when passing data down a pipe. Hclose does this and must be called after all additions to the output header and before writing output data.


DIAGNOSTICS

One of the functions of the include file <sep.wrapup> is to check that the header has been closed before the program finishes.


BUGS

The seplib I/O routines, such as rite, srite, do not check to make sure hclose has been called before writing to output.


KEYWORDS

seplib close


LIBRARY

sep