HomeManualTopicsTypesSymbols

std::println_to

prints its arguments to the specified output channel and adds a newline

Parameters

fd
the output channel
args*
the arguments to concatenate and print

Results

None

Description

The arguments are converted into a single string which is then converted into utf-8.

This function needs I/O-access rights.

Example

$name "Chloé" println_to! STDOUT_FILENO "Bonjour, " name "!"

Output

Bonjour, Chloé!

Topic

Input-Output

See also

std::print_to prints its arguments to the specified file descriptor
std::write_string_to writes its argument (a single string) to the specified output channel
std::print writes its arguments (as a single string) to the standard output channel
std::eprint writes its arguments (as a single string) to the error output channel