SD_BUS_MESSAGE_DUMP - Online Linux Manual PageSection : 3
Updated :
Source : systemd 250
Note : sd_bus_message_dump
NAMEsd_bus_message_dump − Produce a string representation of a message for debugging purposes
SYNOPSIS#include <systemd/sd−bus.h>int sd_bus_message_dump(sd_bus_message *m, FILE *f, uint64_t flags); SD_BUS_MESSAGE_DUMP_WITH_HEADER, SD_BUS_MESSAGE_DUMP_SUBTREE_ONLY
DESCRIPTIONThe sd_bus_message_dump() function writes a textual representation of the message m to the stream f. This function is intended to be used for debugging purposes, and the output is neither stable nor designed to be machine readable. The flags parameter may be used to modify the output. With SD_BUS_MESSAGE_DUMP_WITH_HEADER, a header that specifies the message type and flags and some additional metadata is printed. When SD_BUS_MESSAGE_DUMP_SUBTREE_ONLY is not passed, the contents of the whole message are printed. When it is passed, only the current container in printed. Note that this function moves the read pointer of the message. It may be necessary to reset the position afterwards, for example with sd_bus_message_rewind(3).
EXAMPLESOutput for a signal message (with SD_BUS_MESSAGE_DUMP_WITH_HEADER): > Type=signal Endian=l Flags=1 Version=1 Cookie=22
Path=/value/a Interface=org.freedesktop.DBus.Properties Member=PropertiesChanged
MESSAGE "sa{sv}as" {
STRING "org.freedesktop.systemd.ValueTest";
ARRAY "{sv}" {
DICT_ENTRY "sv" {
STRING "Value";
VARIANT "s" {
STRING "object 0x1e, path /value/a";
};
};
};
ARRAY "s" {
STRING "Value2";
STRING "AnExplicitProperty";
};
};
RETURN VALUEOn success, this function returns 0 or a positive integer. On failure, it returns a negative errno−style error code. No error codes are currently defined.
NOTESThese APIs are implemented as a shared library, which can be compiled and linked to with the libsystemd pkg-config(1) file.
SEE ALSOsystemd(1), sd-bus(3) 0
Johanes Gumabo
Data Size : 8,129 byte
man-sd_bus_message_dump.3Build : 2024-12-29, 07:25 :
Visitor Screen : x
Visitor Counter ( page / site ) : 4 / 261,500
Visitor ID : :
Visitor IP : 18.226.96.202 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.29
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.