This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: sendmmsg
- From: Roland McGrath <roland at hack dot frob dot com>
- To: Thomas Schwinge <thomas at codesourcery dot com>
- Cc: Ulrich Drepper <drepper at gmail dot com>, <libc-alpha at sourceware dot org>
- Date: Mon, 25 Jun 2012 16:32:06 -0700 (PDT)
- Subject: Re: sendmmsg
- References: <20120330114309.17365.qmail@sourceware.org><87hau3bimq.fsf@schwinge.name><87a9zubdm9.fsf@schwinge.name>
I think this is the right way to go: adding sendmmsg/recvmmsg to the
generic libc API. They are generally useful interfaces and there is
nothing intrinsically Linuxoid about them. At least when not given a
timeout, they could be implemented in terms of sendmsg/recvmsg. So
perhaps we ought to have a sysdeps/posix implementation that the Hurd
would use instead of stubs (and folks can consider adding new RPCs).
Then perhaps the Linux fallback case should be that instead of stubs, too.
This certainly has to wait for 2.17. Please file a bugzilla report
for it, update your change to use GLIBC_2.17 for the symbol version
additions, and publish the change on a private branch for others to
look at.
Thanks,
Roland