[Top]
[Prev]
[Next]
[Bottom]
HEpush
VOID HEpush(int16
error_code
, char *
funct_name
, char *
file_name
, intn
line
)
error_code
IN:
HDF error code corresponding to the error
funct_name
IN:
Name of function in which the error occurred
file_name
IN:
Name of file in which the error occurred
line
IN:
Line number in the file that error occurred
Purpose
Pushes a new error onto the error stack.
Return value
None.
Description
HEpush
pushes the file name, function name, line number, and generic description of the error onto the error stack.
HEreport
can then be used to give a more case-specific description of the error.
If the stack is full, the error is ignored.
HEpush
assumes that the character strings
funct_name
and
file_name
are in semi-permanent storage, so only pointers to the strings are saved.
[Top]
[Prev]
[Next]
[Bottom]
hdfhelp@ncsa.uiuc.edu
HDF User's Reference Manual, Draft 06/09/97, NCSA HDF Development Group.