lkml.org 
[lkml]   [2001]   [May]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: NEWBEE "reverse ioctl" or someting like
sébastien person wrote:
>
> Le Thu, 3 May 2001 08:46:05 -0400 (EDT)
> Mark Hahn <hahn@coffee.psychology.mcmaster.ca> à écrit :
>
> > > I think that use of pipe isn't preconised because I must fork process
> > > to use pipe,
> >
> > I guess you mean "because a user-level process would block on the pipe".
> > and you don't want to block. the alternative is to use a signal.
>
> yes but with a signal I am able to share data beetween user space and kernel
> space ? I must also use copy_to_user ?

You will not get any data with the signal but your user-level application
can use an ioctl when it receives this signal and get the data.

--
Joseph Bueno
NetClub/Trader.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:52    [W:0.044 / U:4.580 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site