-/* Close any file currently associated with the given stream. Open the file
- identified by the given filename with the given mode (equivalent to fopen()),
- and associate it with the given stream. If filename is a NULL pointer,
- attempt to change the mode of the given stream.
- This implementation allows any mode changes.
- (Primary use of this function is to redirect stdin, stdout, and stderr.)
-*/