SRM Reference Manual
Functions
SRM SetOutFilePtr
extern SRM_Status_Code
SRM_SetOutFilePtr
(
FILE  *out_file_ptr1
);

Definition

Sets the FILE pointer to which output is directed.

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 FILE pointer is set, if out_file_ptr is non-NULL.
SRM_STATCOD_INACTIONABLE and nothing is changed, if out_file_ptr is NULL.

Parameters Notes

1 stream to which output is to be directed


Prev: SRM_SetMinWidth. Next: SRM_SetPrecision. Up:Index.