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

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_STAT_CODE_SUCCESS and the error file pointer is set as specified, if a valid parameter was passed in.
SRM_STAT_CODE_INACTIONABLE and nothing is changed, if err_file_ptr is NULL.

Parameters Notes


err_file_ptr

 stream to which error messages are to be directed


Prev: SRM_PrintVector3D. Next: SRM_SetOutFilePtr. Up:Index.

Last updated: August 23, 2005 Copyright © 2005 SEDRIS