850_____________________________________________ 14

      .      -
        . -
 dup2      dup  newhandle -
 oldhandle.  dup  dup2  ,  , 
  . , 

int hout = open("output.txt", 0_CREAT I 0_WRONLY,S_IWRITE) ;

dup2(hout,1) ;

    stdout (   1 
.  14.12.1)   output.txt.

14.12.4  /

	 / 	
cgets	char *cgets(char *str)    	conio.h
clearerr	void clearerr(FILE *stream)       stream	stdio.h
cprintf	int cprintf(const char *format [, argument, ...]     argument   format (.  14.4.1)	conio.h
cputs	int cputs(const char *str)   ;   	conio.h
cscanf	int cscanf(char *format [, address, ...])         argument   format;       EOF   	conio.h
eof	int eof(int handle) 0     (),    handle	io.h
feof	int feof(FILE *stream) 0     () stream	stdio.h
ferror	int ferror(FILE *stream)  /  stream   0   	stdio.h
fgetc	int fgetc(FILE *stream)    stream    	stdio.h
fgetchar	int fgetchar(void)    stdin	stdio.h
fgetpos	int fgetpos(FILE *stream, fpost *pos)  pos    stream;    0	stdio.h