Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdlib.h>
- #include <string.h>
- #include <stdint.h>
- #include <stdio.h>
- void redirect_stream (char* filename, char* mode, FILE* stream);
- void redirect_stream (char* filename, char* mode, FILE* stream) {
- freopen (filename, mode, stream);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement