"Streaming" data from kernel to userland

Daniel O'Connor doconnor at gsoft.com.au
Fri Jan 19 11:13:23 UTC 2007


On Friday 19 January 2007 19:25, Ivan Voras wrote:
> Daniel O'Connor wrote:
> > On Friday 19 January 2007 08:52, Ivan Voras wrote:
> >> mind while thinking of this is sockets, so is there a sockets-like
> >> interface which could be used to transfer large amounts of constantly
> >> generated data from kernel to a userland application? Any advice on its
> >> usage and/or examples?
> >
> > What's wrong with read()?
>
> On a /dev/something? Nothing, I guess. I thought maybe there's something
> more abstract (not visible in /dev), but it's not an issue.

An entry in /dev is pretty traditional for this sort of thing :)

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20070119/19e0f5bc/attachment.pgp


More information about the freebsd-hackers mailing list