SRM Reference Manual
Functions
SRM SetErrorFilePtr
extern SRM_Status_Code
SRM_SetErrorFilePtr
(
FILE  *err_file_ptr1
);

Definition

Sets the FILE pointer to which error messages are directed, if error messages are requested.

WARNING: If you close this file after calling this function, remember that the SRM_xxx functions will still try to use it.


Returns

SRM_STATCOD_SUCCESS and the error file pointer is set as specified, if a valid parameter was passed in.
SRM_STATCOD_INACTIONABLE and nothing is changed, if err_file_ptr is NULL.

Parameters Notes

1 stream to which error messages are to be directed


Prev: SRM_PrintVector3D. Next: SRM_SetMinWidth. Up:Index.