From ddce1c3ddbfb773c2ee1343721f4e5bbe07186d0 Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Sun, 2 Oct 2016 17:02:59 +0000 Subject: Export the mq_getfd_np() symbol from librt.so, which allows to get file descriptor for the given posix mqueue. Export the timer_oshandle_np() symbol to get ktimer id for the given posix timer. Requested by: Lewis Donzis Reviewed by: jilles Discussed with: kan Sponsored by: The FreeBSD Foundation MFC after: 1 week --- include/mqueue.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/mqueue.h') diff --git a/include/mqueue.h b/include/mqueue.h index 788d0a1aa5cf..e1c0f27ddcbb 100644 --- a/include/mqueue.h +++ b/include/mqueue.h @@ -50,7 +50,9 @@ ssize_t mq_timedreceive(mqd_t, char *__restrict, size_t, int mq_timedsend(mqd_t, const char *, size_t, unsigned, const struct timespec *); int mq_unlink(const char *); -int __mq_oshandle(mqd_t mqd); +#if __BSD_VISIBLE +int mq_getfd_np(mqd_t mqd); +#endif /* __BSD_VISIBLE */ __END_DECLS #endif -- cgit v1.2.3