JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... , size_t msg_len , unsigned int * msg_prio ); #include < time.h > #include < mqueue.h > ssize_t mq_timedreceive(mqd_t mqdes , char * msg_ptr , size_t msg_len , unsigned int * msg_prio , const struct timespec * abs_timeout ); -lrt でリ ... ンクする。 glibc 向けの機能検査マクロの要件 ( feature_test_macros (7) 参照): mq_timedreceive (): _POSIX_C_SOURCE >= 200112L 説明 mq_receive () は、メッセージキュー記述子 mqdes で参照されるメッセージキューから最も高い ... sage queue description) で O_NONBLOCK フラグが有効になっている場合は、 mq_receive () はエラー EAGAIN ですぐに失敗する。 mq_timedreceive () behaves just like mq_receive (), except that if the queue is empty and the O_NONBLOCK flag is not enabled for the messa ... ... , size_t msg_len , unsigned int * msg_prio ); #include < time.h > #include < mqueue.h > ssize_t mq_timedreceive(mqd_t mqdes , char * msg_ptr , size_t msg_len , unsigned int * msg_prio , const struct timespec * abs_timeout ); -lrt でリ ... ンクする。 glibc 向けの機能検査マクロの要件 ( feature_test_macros (7) 参照): mq_timedreceive (): _POSIX_C_SOURCE >= 200112L 説明 mq_receive () は、メッセージキュー記述子 mqdes で参照されるメッセージキューから最も高い ... sage queue description) で O_NONBLOCK フラグが有効になっている場合は、 mq_receive () はエラー EAGAIN ですぐに失敗する。 mq_timedreceive () behaves just like mq_receive (), except that if the queue is empty and the O_NONBLOCK flag is not enabled for the messa ... ... , size_t msg_len , unsigned int * msg_prio ); #include < time.h > #include < mqueue.h > ssize_t mq_timedreceive(mqd_t mqdes , char * msg_ptr , size_t msg_len , unsigned int * msg_prio , const struct timespec * abs_timeout ); -lrt でリ ... ンクする。 glibc 向けの機能検査マクロの要件 ( feature_test_macros (7) 参照): mq_timedreceive (): _POSIX_C_SOURCE >= 200112L 説明 mq_receive () は、メッセージキュー記述子 mqdes で参照されるメッセージキューから最も高い ... sage queue description) で O_NONBLOCK フラグが有効になっている場合は、 mq_receive () はエラー EAGAIN ですぐに失敗する。 mq_timedreceive () behaves just like mq_receive (), except that if the queue is empty and the O_NONBLOCK flag is not enabled for the messa ... ... close (3) close (2) mq_getattr (3) mq_getsetattr (2) mq_notify (3) mq_notify (2) mq_open (3) mq_open (2) mq_receive (3) mq_timedreceive (2) mq_send (3) mq_timedsend (2) mq_setattr (3) mq_getsetattr (2) mq_timedreceive (3) mq_timedreceive (2) mq_timedsend (3) ... ... nceltype (), pthread_setspecific (), pthread_testcancel (). TMO - _POSIX_TIMEOUTS - _SC_TIMEOUTS 以下の関数が存在する。 mq_timedreceive (), mq_timedsend (), pthread_mutex_timedlock (), pthread_rwlock_timedrdlock (), pthread_rwlock_timedwrlock (), sem_timedwa ... ... close() connect() creat() fcntl() F_SETLKW fdatasync() fsync() getmsg() getpmsg() lockf() F_LOCK mq_receive() mq_send() mq_timedreceive() mq_timedsend() msgrcv() msgsnd() msync() nanosleep() open() openat() [POSIX.1-2008 で追加された] pause() poll() pread() ... ... move_mount (2) 5.2 move_pages (2) 2.6.18 mprotect (2) 1.0 mq_getsetattr (2) 2.6.6 mq_notify (2) 2.6.6 mq_open (2) 2.6.6 mq_timedreceive (2) 2.6.6 mq_timedsend (2) 2.6.6 mq_unlink (2) 2.6.6 mremap (2) 2.0 msgctl (2) 2.0 ipc (2) の「注意」の節を参照 msgget (2) ... ... ェイス: flock (2), fcntl (2) の F_SETLKW と F_OFD_SETLKW 操作。 * POSIX メッセージキューインターフェイス: mq_receive (3), mq_timedreceive (3), mq_send (3), mq_timedsend (3). * futex (2) FUTEX_WAIT (Linux 2.6.22 以降; それ以前は常に EINTR で失敗していた)。 * ge ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。