diff options
| author | Kacper <kacper@mail.openlinux.dev> | 2025-12-15 14:42:29 +0100 |
|---|---|---|
| committer | Kacper <kacper@mail.openlinux.dev> | 2025-12-15 14:42:29 +0100 |
| commit | 7cd3b7caee10d62f7be674afb86a136bf30485d6 (patch) | |
| tree | 121a8c79114174b765713387187d930b102f760f /lib/libc/mqueue/mq_timedsend.c | |
| parent | 3b3325f761b09ebbfef04c44eed546cc4fdeb329 (diff) | |
Add mqueue rt api, add header tests
Diffstat (limited to 'lib/libc/mqueue/mq_timedsend.c')
| -rw-r--r-- | lib/libc/mqueue/mq_timedsend.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/libc/mqueue/mq_timedsend.c b/lib/libc/mqueue/mq_timedsend.c new file mode 100644 index 00000000..228a5d06 --- /dev/null +++ b/lib/libc/mqueue/mq_timedsend.c @@ -0,0 +1,9 @@ +#include <mqueue.h> +#include <syscall.h> + +int mq_timedsend(mqd_t mqdes, const char *msg_ptr, size_t msg_len, + unsigned msg_prio, const struct timespec *abstime) +{ + return syscall(mq_timedsend, mqdes, msg_ptr, msg_len, msg_prio, + abstime); +} |
