int dup2( int oldhandle, int newhandle )



	- prototype in io.h

	- returns a new file handle that duplicates the old handle
	  equal to newhandle.  If newhandle exists, the corresponding
	  file is closed.
	- returns -1 on error