X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=man%2Fsd_bus_send.xml;h=8cdfff07bafd469cf99a94bd492b9763cf0ef6e6;hb=eea10b26f78806d7b244af7d37f75fd567c69610;hp=233dd7c4fa69293186f5ce6d9159da222c09f6c0;hpb=84fc961082d88402dd3e0a8c3a4b0a039ab1fafc;p=thirdparty%2Fsystemd.git diff --git a/man/sd_bus_send.xml b/man/sd_bus_send.xml index 233dd7c4fa6..8cdfff07baf 100644 --- a/man/sd_bus_send.xml +++ b/man/sd_bus_send.xml @@ -1,7 +1,7 @@ - + "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> + @@ -19,6 +19,7 @@ sd_bus_send sd_bus_send_to + sd_bus_message_send Queue a D-Bus message for transfer @@ -41,6 +42,11 @@ const char *destination uint64_t *cookie + + + int sd_bus_message_send + sd_bus_message *m + @@ -76,6 +82,10 @@ call fails. sd_bus_process3 should be invoked to write out any queued message data to the transport. + + sd_bus_message_send() is the same as sd_bus_send() but + without the first and last argument. sd_bus_message_send(m) is equivalent to + sd_bus_send(sd_bus_message_get_bus(m), m, NULL). @@ -94,47 +104,61 @@ -EINVAL The input parameter m is NULL. - + + + -EOPNOTSUPP The bus connection does not support sending file descriptors. - + + + -ECHILD The bus connection was allocated in a parent process and is being reused in a child - process after fork(). + process after fork(). + + -ENOBUFS - The bus connection's write queue is full. + The bus connection's write queue is full. + + -ENOTCONN The input parameter bus is - NULL or the bus is not connected. + NULL or the bus is not connected. + + -ECONNRESET The bus connection was closed while waiting for the response. - + + + -ENOMEM - Memory allocation failed. + Memory allocation failed. + + @@ -142,17 +166,23 @@ + + History + sd_bus_send() and + sd_bus_send_to() were added in version 246. + + See Also - - systemd1, - sd-bus3, - sd_bus_call_method3, - sd_bus_message_set_destination3, - sd_bus_reply_method_return3, - sd_bus_process3 - + + systemd1 + sd-bus3 + sd_bus_call_method3 + sd_bus_message_set_destination3 + sd_bus_reply_method_return3 + sd_bus_process3 +