Next: , Previous: , Up: C library functions   [Index]


freopen

freopen Function

#include <stdio.h>

FILE *f;

String new path;
String new mode;

path = "/home/user/.profile";
mode = "r";

f2 = freopen (path, mode, xstdin ());