(root)/
glibc-2.38/
include/
mqueue.h
       1  #include <rt/mqueue.h>
       2  
       3  #ifndef _ISOMAC
       4  extern __typeof (mq_timedreceive) __mq_timedreceive __nonnull ((2, 5));
       5  extern __typeof (mq_timedsend) __mq_timedsend __nonnull ((2, 5));
       6  
       7  # if IS_IN (librt) && !PTHREAD_IN_LIBC
       8  hidden_proto (mq_timedsend)
       9  hidden_proto (__mq_timedsend)
      10  hidden_proto (mq_setattr)
      11  hidden_proto (mq_timedreceive)
      12  hidden_proto (__mq_timedreceive)
      13  # endif
      14  
      15  # if PTHREAD_IN_LIBC
      16  libc_hidden_proto (mq_setattr)
      17  libc_hidden_proto (__mq_timedreceive)
      18  libc_hidden_proto (__mq_timedsend)
      19  
      20  /* Called from fork so that the new subprocess re-creates the
      21     notification thread if necessary.  */
      22  void __mq_notify_fork_subprocess (void) attribute_hidden;
      23  # endif
      24  
      25  #include <struct___timespec64.h>
      26  #if __TIMESIZE == 64
      27  # define __mq_timedsend_time64 __mq_timedsend
      28  # define __mq_timedreceive_time64 __mq_timedreceive
      29  #else
      30  extern int __mq_timedsend_time64 (mqd_t mqdes, const char *msg_ptr,
      31                                    size_t msg_len, unsigned int msg_prio,
      32                                    const struct __timespec64 *abs_timeout);
      33  extern ssize_t __mq_timedreceive_time64 (mqd_t mqdes,
      34                                           char *__restrict msg_ptr,
      35                                           size_t msg_len,
      36                                           unsigned int *__restrict msg_prio,
      37                                           const struct __timespec64 *__restrict
      38                                           abs_timeout);
      39  #  if PTHREAD_IN_LIBC
      40  libc_hidden_proto (__mq_timedreceive_time64)
      41  libc_hidden_proto (__mq_timedsend_time64)
      42  #  else
      43  librt_hidden_proto (__mq_timedreceive_time64)
      44  librt_hidden_proto (__mq_timedsend_time64)
      45  #  endif
      46  #endif
      47  #endif