On Fri, Nov 5, 2010 at 7:41 AM, erik quanstrom wrote: > On Fri Nov 5 07:36:42 EDT 2010, rogpeppe@gmail.com wrote: > > see srv(3) > > http://plan9.bell-labs.com/magic/man2html/3/srv > > > > On 5 November 2010 10:29, Kirill A. Shutemov > wrote: > > > One of the ugliest interface in Unix is passing a file descriptor > between > > > processes [1]. Does Plan9 provide any mechanism for it? > > > > > > [1] > http://book.chinaunix.net/special/ebook/addisonWesley/APUE2/0201433079/ch17lev1sec4.html > > the op may have seen this: http://lwn.net/Articles/411845/ > —which i found hard to read because the author's changing > definition of "unix". > > - erik > > There was a discussion here a while ago about it too: search for 'sendfd on native Plan 9' from december 2008. Start here: http://9fans.net/archive/2008/12/515, follow till January 2009. Currently, if your processes have a common parent, you can use rfork; if not, you must resort to #s. '#s' is a pretty unfortunate interface, though... -- vs