diff options
-rw-r--r-- | README | 2 | ||||
-rw-r--r-- | lib/posix_mq.rb | 5 |
2 files changed, 6 insertions, 1 deletions
@@ -64,7 +64,7 @@ kernel module before attempting to use POSIX message queues: kldload mqueuefs -Our API matches the C api closely, see the RDoc for full API +Our API matches the POSIX C API closely, see the RDoc for full API documentation. Here is an example of a process communicating with itself. In practice, processes that send will be different from processes that receive. diff --git a/lib/posix_mq.rb b/lib/posix_mq.rb index f232baa..b13bfda 100644 --- a/lib/posix_mq.rb +++ b/lib/posix_mq.rb @@ -1,4 +1,9 @@ # -*- encoding: binary -*- +# +# This class represents an POSIX message queue descriptor (mqd_t) +# object. It matches the C API for POSIX messages queues closely. +# +# See the link:README for examples on how to use it. class POSIX_MQ # version of POSIX_MQ, currently 0.6.0 |