HomeManualTopicsTypesSymbols

std::print_string_to

writes its argument (a single string) to the specified output channel

Parameters

fd
the output channel
str
the string argument to print

Results

None

Description

The argument is converted into utf-8.

The function might block until the output channel is ready to accept more data.

This function needs I/O-access rights.

Example

print_string_to! STDOUT_FILENO "Hello, world!@nl;"

Output

Hello, world!

Topic

Input-Output

See also

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
std::write_string_to writes its argument (a single string) to the specified output channel