Re: Support splice()

Michael Abbott <[email protected]> Fri, 10 Jun 2011 06:20:54 -0700 (PDT)
Newsgroups gmane.comp.lib.state-threads.devel
Message-ID <[email protected]>
> I am interested in how to best support the Linux system call splice() within the ST framework

Welcome.

Start by studying the documentation for and implementations of st_read() and st_write().  Then write st_splice() based on what you learned.  You will have to use the SPLICE_F_NONBLOCK flag.  I wonder if an st_splice_fully() and an st_splice_resid() also make sense to implement?

Please let us know how it goes.

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev