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
This commit is contained in:
Konstantin Belousov
2016-10-02 17:02:59 +00:00
parent a7d1d41617
commit ddce1c3ddb
8 changed files with 23 additions and 11 deletions
+3 -1
View File
@@ -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
+1
View File
@@ -194,6 +194,7 @@ char *timezone(int, int); /* XXX XSI conflict */
void tzsetwall(void);
time_t timelocal(struct tm * const);
time_t timegm(struct tm * const);
int timer_oshandle_np(timer_t timerid);
#endif /* __BSD_VISIBLE */
#if __POSIX_VISIBLE >= 200809 || defined(_XLOCALE_H_)