Robert Klemme wrote: > Thanks for elaborating! Actually I was not aware that you can do this. > However, even if it is possible I would not do it as the general > convention is that 1 should be written to and 0 be read from only. I'd restrict that to say that the convention is to do this if your app is meant to be executed from a shell or shell script. When you're writing code meant to plug into another application, all bets are off. Particularly with Qmail as Antonio was looking to do - Qmail has some very weird conventions and most of the different pieces talk to each other via different set of predefined file descriptors and you don't really have any choice. Vidar