HomeManualTopicsTypesSymbols

std::write_to

writes its arguments to the specified output channel

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" write_to! STDOUT_FILENO "Hello, " name "!@nl;"

Output

Hello, Joe!

Topic

Input-Output

See also

std::writeln_to writes 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
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