HomeManualTopicsTypesSymbols

std::dump_to

writes a string representation of some objects to the given file descriptor

Parameters

fd
the file descriptor to write to
args*
an alternating sequence of labels and objects

Results

None

Description

Attention: This function must be called with I/O-access rights!

The function displays a label before each object.

To display an object's details the function uses serialization.

The string representation is converted to utf-8 before beeing written.

Example

$fruits list("apple" "banana" "cherry") dump_to! STDOUT_FILENO `fruits

Output

fruits: list <3> "apple" "banana" "cherry"

Topic

Debug

See also

std::dump writes a string representation of some objects to stdout
std::edump print an object dump to stderr
debug::dump writes a string representation of an object to stderr
debug::dump_object writes a string representation of an object to stderr