Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Aug 1998 12:29:43 PDT
From:      "Marty Leisner" <leisner@sdsp.mc.xerox.com>
To:        Luigi Rizzo <luigi@labinfo.iet.unipi.it>
Cc:        chanders@timing.com (Craig Anderson), freebsd-hackers@FreeBSD.ORG, brhall@timing.com
Subject:   Re: Help with passing fd on FreeBSD 
Message-ID:  <9808281929.AA27016@gnu.sdsp.mc.xerox.com>
In-Reply-To: Your message of "Fri, 28 Aug 1998 09:28:36 PDT." <199808281628.SAA05374@labinfo.iet.unipi.it> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > Oops, I turned the page and the BSD4.3+ example looks like the FreeBSD
> > struct.  The Stevens book appears to have a good example.
> >
> > > Can someone give me pointers on passing open file descriptors on FreeBSD?
> 
> still, this looks to me one of the most obscure interfaces in the OS.
> Does any real application use that ?
> 
> 	cheers
> 	luigi


If you have cooperating processes, and you want to create a pipe
at runtime, how do you pass it between processes? (wihtout having to 
make a named pipe)...

In the systems I build at work, its fundaemntal.  When I was first
asked to do it (and told how), I never knew it existed before...

I think bsd4.4 can pass an array of fd's, older bsd style OSes were
limited to one fd...(?)



-- 
marty
leisner@sdsp.mc.xerox.com  
The Feynman problem solving Algorithm
        1) Write down the problem
        2) Think real hard
        3) Write down the answer
                Murray Gell-mann in the NY Times





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9808281929.AA27016>