[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [leafnode-list] making fetchnews quiet

Basically, 2>&1 is just dup2(STDOUT_FILENO, STDERR_FILENO).

Forget the idea of 'moving' output anywhere.  All you do is duplicate
and redirect file descriptors.  Makes more sense now?


Yes, now it suddenly makes sense.... we wouldn't want data to be copied around for nothing... just change the pointer duh :-)

Thanks :-)

-- _______________________________________________ leafnode-list mailing list leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx http://www.dt.e-technik.uni-dortmund.de/mailman/listinfo/leafnode-list http://leafnode.sourceforge.net/