mirror of
https://repo.or.cz/socat.git
synced 2025-06-27 01:58:43 +00:00
Added POSIXMQ-WRITE; warn on maxmsg,msgsize failure; doc
This commit is contained in:
parent
436d764029
commit
b57d8668ec
5 changed files with 40 additions and 17 deletions
doc
13
doc/socat.yo
13
doc/socat.yo
|
@ -823,6 +823,9 @@ label(ADDRESS_POSIXMQ_SEND)dit(bf(tt(POSIXMQ-SEND:/<mqueue>)))
|
|||
link(o-excl)(OPTION_O_EXCL),
|
||||
link(umask)(OPTION_UMASK)
|
||||
|
||||
label(ADDRESS_POSIXMQ_WRITE)dit(bf(tt(POSIXMQ-WRITE:/<mqueue>)))
|
||||
Does the same as link(POSIXMQ-SEND)(ADDRESS_POSIXMQ_SEND).
|
||||
|
||||
label(ADDRESS_POSIXMQ_BIDIRECTIONAL)dit(bf(tt(POSIXMQ-BIDIRECTIONAL:/mqueue)))
|
||||
dit(bf(tt(POSIXMQ:/mqueue)))
|
||||
Opens or creates the specified POSIX message queue in read and/or write mode
|
||||
|
@ -3522,13 +3525,11 @@ label(OPTION_POSIXMQ_FLUSH)dit(bf(tt(posixmq-flush (mq-flush))))
|
|||
"Consumes" (drops) all messages currently in the queue before starting
|
||||
transfers.
|
||||
label(OPTION_POSIXMQ_MAXMSG)dit(bf(tt(posixmq-maxmsg (mq-maxmsg))))
|
||||
Sets the maxmsg parameter of the POSIX message queue when creating it.
|
||||
Note: You need root or CAP_SYS_RESOURCE to exceed the default value
|
||||
(code(/proc/sys/fs/mqueue/msg_default)).
|
||||
Sets the maxmsg parameter of the POSIX message queue when creating it.nl()
|
||||
Note: This option applies only when the queue does not already exist.
|
||||
label(OPTION_POSIXMQ_MSGSIZE)dit(bf(tt(posixmq-msgsize (mq-msgsize))))
|
||||
Sets the msgsize parameter of the POSIX message queue when creating it.
|
||||
Note: You need root or CAP_SYS_RESOURCE to exceed the default value
|
||||
(code(/proc/sys/fs/mqueue/msgsize_default)).
|
||||
Sets the msgsize parameter of the POSIX message queue when creating it.nl()
|
||||
Note: This option applies only when the queue does not already exist.
|
||||
enddit()
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue