1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

Linux: mq_* syscall numbers are always available

Due to the built-in tables, __NR_mq_getsetattr, __NR_mq_notify,
__NR_mq_open, __NR_mq_timedreceive, __NR_mq_timedsend, __NR_mq_unlink
are always defined.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
This commit is contained in:
Florian Weimer
2020-03-03 12:11:49 +01:00
parent 8d25a67650
commit 276e6080c8
7 changed files with 0 additions and 41 deletions

View File

@ -20,8 +20,6 @@
#include <stddef.h>
#include <sysdep.h>
#ifdef __NR_mq_timedsend
/* Add message pointed by MSG_PTR to message queue MQDES. */
int
mq_send (mqd_t mqdes, const char *msg_ptr, size_t msg_len,
@ -29,7 +27,3 @@ mq_send (mqd_t mqdes, const char *msg_ptr, size_t msg_len,
{
return __mq_timedsend (mqdes, msg_ptr, msg_len, msg_prio, NULL);
}
#else
# include <rt/mq_send.c>
#endif