1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-08 17:42:12 +03:00

socket: Add time64 alias for sendmsg

Reviewed-by: Lukasz Majewski <lukma@denx.de>
Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
This commit is contained in:
Florian Weimer
2021-07-21 11:42:31 +02:00
parent 0a921c52b3
commit 77ede5f010
22 changed files with 35 additions and 0 deletions

View File

@@ -170,8 +170,20 @@ extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
This function is a cancellation point and therefore not marked with
__THROW. */
#ifndef __USE_TIME_BITS64
extern ssize_t sendmsg (int __fd, const struct msghdr *__message,
int __flags);
#else
# ifdef __REDIRECT
extern ssize_t __REDIRECT (sendmsg, (int __fd, const struct msghdr *__message,
int __flags),
__sendmsg64);
# else
extern ssize_t __sendmsg64 (int __fd, const struct msghdr *__message,
int __flags);
# defien sendmsg __sendmsg64
# endif
#endif
#ifdef __USE_GNU
/* Send a VLEN messages as described by VMESSAGES to socket FD.