From 916abb21d0a6653e0187b91591e492026886b0a4 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 17 May 2011 19:37:03 +0200 Subject: socket: add POSIX mqueue support --- man/sd_is_fifo.xml | 14 ++++++++++++++ man/systemd.socket.xml | 27 +++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) (limited to 'man') diff --git a/man/sd_is_fifo.xml b/man/sd_is_fifo.xml index 0e3f3d038f..251f45ce0f 100644 --- a/man/sd_is_fifo.xml +++ b/man/sd_is_fifo.xml @@ -47,6 +47,7 @@ sd_is_socket sd_is_socket_inet sd_is_socket_unix + sd_is_mq Check the type of a file descriptor @@ -86,6 +87,12 @@ size_t length + + int sd_is_mq + int fd + const char *path + + @@ -136,6 +143,13 @@ address, including the initial 0 byte and set path to the initial 0 byte of the socket address. + + sd_is_mq() may be called to + check whether the specified file descriptor refers to + a POSIX message queue. If the + path parameter is not NULL, it + is checked whether the message queue is bound to the + specified name. diff --git a/man/systemd.socket.xml b/man/systemd.socket.xml index 3ea3154db2..22567d483e 100644 --- a/man/systemd.socket.xml +++ b/man/systemd.socket.xml @@ -249,6 +249,20 @@ directive above. + + ListenMessageQueue= + Specifies a POSIX + message queue name to listen on. This + expects a valid message queue name + (i.e. beginning with /). Behaviour + otherwise is very similar to the + ListenFIFO= + directive above. On Linux message + queue descriptors are actually file + descriptors and can be inherited + between processes. + + BindIPv6Only= Takes a one of @@ -462,6 +476,19 @@ for details. + + MessageQueueMaxMessages=, + MessageQueueMessageSize= + These two settings + take integer values and control the + mq_maxmsg resp. mq_msgsize field when + creating the message queue. Note that + either none or both of these variables + need to be set. See + mq_setattr3 + for details. + + FreeBind= Takes a boolean -- cgit v1.2.3-54-g00ecf