On Fri, Aug 01, 2008 at 12:46:17PM -0400, Christopher Taylor wrote: > Thank you Luciano, seems lke a really great utility but perhaps a bit > overkill for what I need. > > I'm just trying to figure out the correct sequence of systems calls to > connect two serial devices in my C program without doing a select/poll > and writing the data out to the other device. > > Basically what it seems like I need is a more advanced verison of pipe > where it's duplex and I can tell it what the fd's are instead it > telling me what fd's to use.
Hm, there is a new system call called splice(2) that should do what you want. Though it is present only in newer kernels, and I don't the status of its support in uclibc. -- lfr 0/0
pgp17gqsNQYjN.pgp
Description: PGP signature
_______________________________________________ uClibc mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/uclibc
