From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,f4967cc8a7079829 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-11-30 14:46:39 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.cwix.com!sjc-peer.news.verio.net!news.verio.net!iad-read.news.verio.net.POSTED!not-for-mail Message-ID: <3C080C76.71BBD7B2@smbc-cm.com> From: Oisin McGuinness Organization: SMBC Capital Markets X-Mailer: Mozilla 4.79 [en] (WinNT; U) X-Accept-Language: en,el MIME-Version: 1.0 Newsgroups: comp.unix.tru64 Subject: Re: passing an open file or socket descriptor References: <3C06B3C9.E15E8A3C@umkc.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 30 Nov 2001 17:47:18 -0500 NNTP-Posting-Host: 204.141.189.14 X-Complaints-To: abuse@verio.net X-Trace: iad-read.news.verio.net 1007160391 204.141.189.14 (Fri, 30 Nov 2001 22:46:31 GMT) NNTP-Posting-Date: Fri, 30 Nov 2001 22:46:31 GMT Xref: archiver1.google.com comp.unix.tru64:5993 David Nicol wrote: > > is there a way to pass an open fd to another process? Read Chapter 15 in the late great W. Richard Stevens' book, "Advanced Programming in the Unix Environment", published by Addison Wesley, 1992, ISBN 0-201-56317-7. (Everyone should own this book.) He describes the ins and outs of this, with lots of source code. (If you are doing this for IPC, you should also consult Volume 2 of the 2nd edition of his "Unix Network Programming", Prentice Hall 1999, ISBN 0-13-081081-9. It is a great pity volume 3 did not get done.) -- Oisin McGuinness SMBC Capital Markets 277 Park Avenue New York NY 10172 USA (212)-224-4913, email: oisin@smbc-cm.com