X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsd_bus_negotiate_fds.xml;h=c91318cd9d89222cbde029c8a4eff2d7455941ea;hp=38e1fad68a68be18ec6602209a26cbb459116762;hb=bf2e0ece853b888eb37055849975ddeab3f5f051;hpb=ce236b57bee9a081d62db04bcc5be34e3ba6d217 diff --git a/man/sd_bus_negotiate_fds.xml b/man/sd_bus_negotiate_fds.xml index 38e1fad68..c91318cd9 100644 --- a/man/sd_bus_negotiate_fds.xml +++ b/man/sd_bus_negotiate_fds.xml @@ -24,7 +24,7 @@ along with systemd; If not, see . - sd_bus_new + sd_bus_negotiate_fds systemd @@ -79,35 +79,35 @@ along with systemd; If not, see . sd_bus_negotiate_fds() controls whether file descriptor passing shall be negotiated for the specified bus - connection. Takes a bus object and a boolean, which when true - enables file descriptor passing, and when false disables it. Note + connection. It takes a bus object and a boolean, which, when true, + enables file descriptor passing, and, when false, disables it. Note that not all transports and servers support file descriptor passing. To find out whether file descriptor passing is available - after negotiation use + after negotiation, use sd_bus_can_send3 and pass SD_BUS_TYPE_UNIX_FD. Note that file descriptor passing is always enabled for both sending and receiving or for neither, but never only in one direction. By - default file descriptor passing is negotiated for all + default, file descriptor passing is negotiated for all connections. - Note that when bus activation is used it is highly + Note that when bus activation is used, it is highly recommended to set the setting in the .busname unit file to the same setting as negotiated by the program ultimately activated. By - default file descriptor passing is enabled for both. + default, file descriptor passing is enabled for both. sd_bus_negotiate_timestamps() controls whether implicit sender timestamps shall be attached automatically - to all incoming messages. Takes a bus object and a boolean, which - when true enables timestamping, and when false disables it. If + to all incoming messages. Takes a bus object and a boolean, which, + when true, enables timestamping, and, when false, disables it. If this is disabled, sd_bus_message_get_monotonic_usec3, sd_bus_message_get_realtime_usec3, sd_bus_message_get_seqno3 fail with -ENODATA on incoming messages. Note that not all transports support timestamping of messages. On local - transports the timestamping is applied by the kernel and cannot be + transports, the timestamping is applied by the kernel and cannot be manipulated by userspace. sd_bus_negotiate_creds() controls @@ -119,9 +119,9 @@ along with systemd; If not, see . fails with -ENODATA on incoming messages. Note that not all transports support attaching sender credentials to messages, or do not support all types of sender - credential parameters. On local transports the sender credentials + credential parameters. On local transports, the sender credentials are attached by the kernel and cannot be manipulated by - userspace. By default no sender credentials are attached. + userspace. By default, no sender credentials are attached. These functions may be called only before the connection has been started with @@ -132,7 +132,7 @@ along with systemd; If not, see . Return Value On success, these functions returns 0 or a - positive integer. On failure, it returns a negative errno-style + positive integer. On failure, they return a negative errno-style error code. @@ -156,7 +156,7 @@ along with systemd; If not, see . sd_bus_negotiate_fs() and the other functions described here are available as a shared library, which can be compiled and linked to with the - libsystemd pkg-config1 + libsystemd pkg-config1 file.