Lines 1045-1052
Link Here
|
1045 |
#endif |
1045 |
#endif |
1046 |
|
1046 |
|
1047 |
/* clean up standard input, output, error */ |
1047 |
/* clean up standard input, output, error */ |
1048 |
//freopen("/dev/null", "r", stdin); |
1048 |
freopen("/dev/null", "r", stdin); |
1049 |
fclose(stdin); |
|
|
1050 |
freopen(ttyname, "w", stdout); |
1049 |
freopen(ttyname, "w", stdout); |
1051 |
freopen(ttyname, "w", stderr); |
1050 |
freopen(ttyname, "w", stderr); |
1052 |
free(ttyname); |
1051 |
free(ttyname); |