lkml.org 
[lkml]   [2000]   [Sep]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectQuestion about I_SENDFD
Date
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=text/html;charset=koi8-r http-equiv=Content-Type>
<META content='"MSHTML 4.72.3110.7"' name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Respected colleagues!<BR>In advanced Unix systems, including
SCO UnixWare, SUN OS </FONT></DIV>
<DIV><FONT size=2>there is a facility of transmission of descriptor of openning
file </FONT></DIV>
<DIV><FONT size=2>through stream, by means of the command ioctl I_SENDFD.
</FONT></DIV>
<DIV><FONT size=2>For instance, following command writes transDsc descriptor to
the stream streamDsc.<BR>&nbsp;&nbsp;&nbsp; int ret = ioctl(streamDsc, I_SENDFD,
transDsc);<BR>On Red Hat Linux kernel 2.2.16 ret is -1,&nbsp; errno is 22 -
Invalid argument.<BR>That is here done not so, or be other ways of transmission
of file descriptor between processes?</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>Andrey Kaplanov.</FONT></DIV></BODY></HTML>
\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.029 / U:0.752 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site