diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2016-10-02 17:02:59 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2016-10-02 17:02:59 +0000 |
commit | ddce1c3ddbfb773c2ee1343721f4e5bbe07186d0 (patch) | |
tree | c2ba7e9b032c44fe1ae58dfa5a602ba4debb8890 /include/mqueue.h | |
parent | a7d1d4161757d358a67d40a08f4c4b283db1f313 (diff) | |
download | src-test2-ddce1c3ddbfb773c2ee1343721f4e5bbe07186d0.tar.gz src-test2-ddce1c3ddbfb773c2ee1343721f4e5bbe07186d0.zip |
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 <lew@perftech.com>
Reviewed by: jilles
Discussed with: kan
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Notes
Notes:
svn path=/head/; revision=306588
Diffstat (limited to 'include/mqueue.h')
-rw-r--r-- | include/mqueue.h | 4 |
1 files changed, 3 insertions, 1 deletions
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 |