basic.%freopen
Reopens a stream.
Syntax
stream=(char*)%freopen( string, type, (char*)stream1)
Description
substitutes the named file specified by 'string' in place of the opened stream 'stream1'.
The stream is returned as a pointer to a character or 0 (zero) if an error has occurred. System(0) is then set to the error number.
See Also
User Comments
What do you think?
Share your experience or ask a question by using the form below.
Login to leave your comments.
