/* create stdprn for Turbo C * version 2 */ #include main() { FILE *stdprn; if(!(stdprn = fdopen(4,"wt"))) { fprintf(stderr,"\nUnable to open stdprn"); exit(0); } fprintf(stdprn,"stdprn is open\f"); }