Missing time64 prototypes for !__REDIRECT compilers
Florian Weimer
fweimer@redhat.com
Mon Jul 5 12:15:36 GMT 2021
* Adhemerval Zanella:
> On 05/07/2021 06:48, Florian Weimer wrote:
>> This pattern looks incorrect to me:
>>
>> #ifdef __USE_GNU
>> /* Receive up to VLEN messages as described by VMESSAGES from socket FD.
>> Returns the number of messages received or -1 for errors.
>>
>> This function is a cancellation point and therefore not marked with
>> __THROW. */
>> # ifndef __USE_TIME_BITS64
>> extern int recvmmsg (int __fd, struct mmsghdr *__vmessages,
>> unsigned int __vlen, int __flags,
>> struct timespec *__tmo);
>> # else
>> # ifdef __REDIRECT
>> extern int __REDIRECT (recvmmsg, (int __fd, struct mmsghdr *__vmessages,
>> unsigned int __vlen, int __flags,
>> struct timespec *__tmo),
>> __recvmmsg64);
>> # else
>> # define recvmmsg __recvmmsg64
>> # endif
>> # endif
>> #endif
>>
>> For the !__REDIRECT case, a prototype for __recvmmsg64 is still needed.
>
> There is some fixes for recvmsg and recvmmsg that I am working on,
> I will add this as well.
I'm working on adding some missing time64 aliases. I've got a
SCM_RIGHTS smoke test.
Thanks,
Florian
More information about the Libc-alpha
mailing list