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:
+3
-1
@@ -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
|
||||
|
||||
@@ -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_)
|
||||
|
||||
Reference in New Issue
Block a user