HomeManualTopicsTypesSymbols

std::writeln_to

writes 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 but are not converted into utf-8.

This function always writes the whole string and may therefor block.

This function needs I/O-access rights.

Example

$name "Joe" writeln_to! STDOUT_FILENO "Hello, " name "!"

Output

Hello, Joe!

Topic

Input-Output

See also

std::write_to writes its arguments to the specified output channel
std::println_to prints its arguments to the specified output channel and adds a newline
std::write_string_to writes its argument (a single string) to the specified output channel
std::print_to prints its arguments to the specified file descriptor