X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsd_bus_message_append_array.xml;h=fe81affdc4313683e9bbbfffbf1bd766b81d3da8;hp=fe84671f3e6dffc3612b6594d388fb53b83f3910;hb=754061ce7173fd8cb66ade1a48381e2cead35522;hpb=effbc8e4f70fc70e4a4a8a1dc77228dd187f9c22 diff --git a/man/sd_bus_message_append_array.xml b/man/sd_bus_message_append_array.xml index fe84671f3..fe81affdc 100644 --- a/man/sd_bus_message_append_array.xml +++ b/man/sd_bus_message_append_array.xml @@ -1,4 +1,4 @@ - + @@ -68,7 +68,7 @@ along with systemd; If not, see . int sd_bus_message_append_array_memfd sd_bus_message *m char type - sd_memfd *memfd + int memfd @@ -91,7 +91,7 @@ along with systemd; If not, see . Description - Function sd_bus_message_append_array + The sd_bus_message_append_array functionc appends items to message m as the single array. A container will be opened, items appended, and the container closed. Parameter type determines @@ -104,7 +104,7 @@ along with systemd; If not, see . Basic Types section of the D-Bus specification, and listed in sd_bus_message_append_basic3. - Pointer p must point to an array of of size + Pointer p must point to an array of size size bytes containing items of the respective type. Size size must be a multiple of the size of the type type. As a @@ -116,19 +116,19 @@ along with systemd; If not, see . into the memory area containing the message and may be changed after this call. - Function - sd_bus_message_append_array_memfd appends + The + sd_bus_message_append_array_memfd function appends items to message m, similarly to sd_bus_message_append_array. Contents of the memory file descriptor memfd are used as the contents of the array. Their size must be a multiple of the size of the type type. - Descriptor memfd will be sealed - and cannot be modified after this call. + The descriptor specified with memfd + will be sealed and cannot be modified after this call. - Function - sd_bus_message_append_array_iovec appends + The + sd_bus_message_append_array_iovec function appends items to message m, similarly to sd_bus_message_append_array. Contents of the iovec iov are used as the contents of the @@ -136,7 +136,7 @@ along with systemd; If not, see . sum of iov_len fields) must be a multiple of the size of the type type. - Pointer iov must point to + The iov argument must point to n struct iovec structures. Each structure may have the iov_base field set, in which case the @@ -146,8 +146,8 @@ along with systemd; If not, see . memory pointed at by iov may be changed after this call. - Function - sd_bus_message_append_array_space appends + The + sd_bus_message_append_array_space function appends space for an array of items to message m. It behaves the same as sd_bus_message_append_array, but instead @@ -159,7 +159,7 @@ along with systemd; If not, see . Return Value - On success, those calls return 0 or a positive integer. On + On success, these calls return 0 or a positive integer. On failure, they returns a negative errno-style error code. @@ -171,7 +171,7 @@ along with systemd; If not, see . sd_bus_append_array() and 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.