I am porting a program from BSD to a Sys5r2 ish derivative and need the dup2() function call. Does it exist under vanilla Sys5r2 and if so is it freely available or do I need a AT&T licence? Or has anyone got a piece of code they can mail me ? Thanx Iain