> -----Original Message----- > Later i duplicated the file descripter > for the standard input ( i.e 1) using > the dup function call . > > The call was > newfd = dup(1); Doh. Standard input = 0 Standard output = 1 Standard error = 2 :-)
- dup function gangadharan narayan
- Re: dup function David Rysdam
- MURRAY, Paul
