Using the word "stream" is a better and more precise term.
The word "stream" is already in use elsewhere and using this makes the project more consistent.
#endif
#ifndef _di_f_print_
- f_status_t f_print(const f_string_t string, const f_array_length_t length, FILE * const output) {
+ f_status_t f_print(const f_string_t string, const f_array_length_t length, FILE * const stream) {
#ifndef _di_level_0_parameter_checking_
- if (!output) return F_status_set_error(F_parameter);
+ if (!stream) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!length || !string) {
return F_data_not;
}
- return private_f_print(string, length, output);
+ return private_f_print(string, length, stream);
}
#endif // _di_f_print_
#ifndef _di_f_print_character_
- f_status_t f_print_character(const f_char_t character, FILE * const output) {
+ f_status_t f_print_character(const f_char_t character, FILE * const stream) {
#ifndef _di_level_0_parameter_checking_
- if (!output) return F_status_set_error(F_parameter);
+ if (!stream) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
- if (!fwrite_unlocked(&character, 1, 1, output)) {
+ if (!fwrite_unlocked(&character, 1, 1, stream)) {
return F_status_set_error(F_output);
}
#endif // _di_f_print_character_
#ifndef _di_f_print_character_safely_
- f_status_t f_print_character_safely(const f_char_t character, FILE * const output) {
+ f_status_t f_print_character_safely(const f_char_t character, FILE * const stream) {
#ifndef _di_level_0_parameter_checking_
- if (!output) return F_status_set_error(F_parameter);
+ if (!stream) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (character == 0x7f) {
- if (fwrite_unlocked(f_print_sequence_delete_s.string, 1, f_print_sequence_delete_s.used, output) == f_print_sequence_delete_s.used) {
+ if (fwrite_unlocked(f_print_sequence_delete_s.string, 1, f_print_sequence_delete_s.used, stream) == f_print_sequence_delete_s.used) {
return F_none;
}
}
else if (macro_f_utf_byte_width_is(character) == 1) {
- if (fwrite_unlocked(f_print_sequence_unknown_s.string, 1, f_print_sequence_unknown_s.used, output) == f_print_sequence_unknown_s.used) {
+ if (fwrite_unlocked(f_print_sequence_unknown_s.string, 1, f_print_sequence_unknown_s.used, stream) == f_print_sequence_unknown_s.used) {
return F_none;
}
}
else if (macro_f_utf_byte_width_is(character) > 1) {
- if (fwrite_unlocked(&character, 1, 1, output)) {
+ if (fwrite_unlocked(&character, 1, 1, stream)) {
return F_utf;
}
}
else if (character > 0x1f) {
- if (fwrite_unlocked(&character, 1, 1, output)) {
+ if (fwrite_unlocked(&character, 1, 1, stream)) {
return F_none;
}
}
else {
- if (fwrite_unlocked(f_print_sequence_set_control_s[(unsigned int) character].string, 1, f_print_sequence_set_control_s[(unsigned int) character].used, output) == f_print_sequence_set_control_s[(unsigned int) character].used) {
+ if (fwrite_unlocked(f_print_sequence_set_control_s[(unsigned int) character].string, 1, f_print_sequence_set_control_s[(unsigned int) character].used, stream) == f_print_sequence_set_control_s[(unsigned int) character].used) {
return F_none;
}
}
#endif // _di_f_print_character_safely_get_
#ifndef _di_f_print_dynamic_
- f_status_t f_print_dynamic(const f_string_static_t buffer, FILE * const output) {
+ f_status_t f_print_dynamic(const f_string_static_t buffer, FILE * const stream) {
#ifndef _di_level_0_parameter_checking_
- if (!output) return F_status_set_error(F_parameter);
+ if (!stream) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!buffer.used || !buffer.string) {
return F_data_not;
}
- return private_f_print(buffer.string, buffer.used, output);
+ return private_f_print(buffer.string, buffer.used, stream);
}
#endif // _di_f_print_dynamic_
#ifndef _di_f_print_dynamic_partial_
- f_status_t f_print_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, FILE * const output) {
+ f_status_t f_print_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, FILE * const stream) {
#ifndef _di_level_0_parameter_checking_
- if (!output) return F_status_set_error(F_parameter);
+ if (!stream) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!buffer.used || range.start > range.stop || range.start >= buffer.used || !buffer.string) {
length = buffer.used - range.start;
}
- return private_f_print(buffer.string + range.start, length, output);
+ return private_f_print(buffer.string + range.start, length, stream);
}
#endif // _di_f_print_dynamic_partial_
#ifndef _di_f_print_dynamic_partial_raw_
- f_status_t f_print_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, FILE * const output) {
+ f_status_t f_print_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, FILE * const stream) {
#ifndef _di_level_0_parameter_checking_
- if (!output) return F_status_set_error(F_parameter);
+ if (!stream) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!buffer.used || range.start > range.stop || range.start >= buffer.used || !buffer.string) {
length = buffer.used - range.start;
}
- return private_f_print_raw(buffer.string + range.start, length, output);
+ return private_f_print_raw(buffer.string + range.start, length, stream);
}
#endif // _di_f_print_dynamic_partial_raw_
#ifndef _di_f_print_dynamic_partial_raw_safely_
- f_status_t f_print_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, FILE * const output) {
+ f_status_t f_print_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, FILE * const stream) {
#ifndef _di_level_0_parameter_checking_
- if (!output) return F_status_set_error(F_parameter);
+ if (!stream) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!buffer.used || range.start > range.stop || range.start >= buffer.used || !buffer.string) {
length = buffer.used - range.start;
}
- return private_f_print_raw_safely(buffer.string + range.start, length, output);
+ return private_f_print_raw_safely(buffer.string + range.start, length, stream);
}
#endif // _di_f_print_dynamic_partial_raw_safely_
#ifndef _di_f_print_dynamic_partial_safely_
- f_status_t f_print_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, FILE * const output) {
+ f_status_t f_print_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, FILE * const stream) {
#ifndef _di_level_0_parameter_checking_
- if (!output) return F_status_set_error(F_parameter);
+ if (!stream) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!buffer.used || range.start > range.stop || range.start >= buffer.used || !buffer.string) {
length = buffer.used - range.start;
}
- return private_f_print_safely(buffer.string + range.start, length, output);
+ return private_f_print_safely(buffer.string + range.start, length, stream);
}
#endif // _di_f_print_dynamic_partial_safely_
#ifndef _di_f_print_dynamic_raw_
- f_status_t f_print_dynamic_raw(const f_string_static_t buffer, FILE * const output) {
+ f_status_t f_print_dynamic_raw(const f_string_static_t buffer, FILE * const stream) {
#ifndef _di_level_0_parameter_checking_
- if (!output) return F_status_set_error(F_parameter);
+ if (!stream) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!buffer.used || !buffer.string) {
return F_data_not;
}
- return private_f_print_raw(buffer.string, buffer.used, output);
+ return private_f_print_raw(buffer.string, buffer.used, stream);
}
#endif // _di_f_print_dynamic_raw_
#ifndef _di_f_print_dynamic_raw_safely_
- f_status_t f_print_dynamic_raw_safely(const f_string_static_t buffer, FILE * const output) {
+ f_status_t f_print_dynamic_raw_safely(const f_string_static_t buffer, FILE * const stream) {
#ifndef _di_level_0_parameter_checking_
- if (!output) return F_status_set_error(F_parameter);
+ if (!stream) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!buffer.used || !buffer.string) {
return F_data_not;
}
- return private_f_print_raw_safely(buffer.string, buffer.used, output);
+ return private_f_print_raw_safely(buffer.string, buffer.used, stream);
}
#endif // _di_f_print_dynamic_raw_safely_
#ifndef _di_f_print_dynamic_safely_
- f_status_t f_print_dynamic_safely(const f_string_static_t buffer, FILE * const output) {
+ f_status_t f_print_dynamic_safely(const f_string_static_t buffer, FILE * const stream) {
#ifndef _di_level_0_parameter_checking_
- if (!output) return F_status_set_error(F_parameter);
+ if (!stream) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!buffer.used || !buffer.string) {
return F_data_not;
}
- return private_f_print_safely(buffer.string, buffer.used, output);
+ return private_f_print_safely(buffer.string, buffer.used, stream);
}
#endif // _di_f_print_dynamic_safely_
#ifndef _di_f_print_except_
- f_status_t f_print_except(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except, FILE * const output) {
+ f_status_t f_print_except(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except, FILE * const stream) {
#ifndef _di_level_0_parameter_checking_
- if (!output) return F_status_set_error(F_parameter);
+ if (!stream) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!length || !string) {
return F_data_not;
}
- return private_f_print_except(string, offset, length, except, output);
+ return private_f_print_except(string, offset, length, except, stream);
}
#endif // _di_f_print_except_
#ifndef _di_f_print_except_dynamic_
- f_status_t f_print_except_dynamic(const f_string_static_t buffer, const f_array_lengths_t except, FILE * const output) {
+ f_status_t f_print_except_dynamic(const f_string_static_t buffer, const f_array_lengths_t except, FILE * const stream) {
#ifndef _di_level_0_parameter_checking_
- if (!output) return F_status_set_error(F_parameter);
+ if (!stream) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!buffer.used || !buffer.string) return F_data_not;
- return private_f_print_except(buffer.string, 0, buffer.used, except, output);
+ return private_f_print_except(buffer.string, 0, buffer.used, except, stream);
}
#endif // _di_f_print_except_dynamic_
#ifndef _di_f_print_except_dynamic_partial_
- f_status_t f_print_except_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, FILE * const output) {
+ f_status_t f_print_except_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, FILE * const stream) {
#ifndef _di_level_0_parameter_checking_
- if (!output) return F_status_set_error(F_parameter);
+ if (!stream) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!buffer.used || range.start > range.stop || range.start >= buffer.used || !buffer.string) {
length = buffer.used - range.start;
}
- return private_f_print_except(buffer.string, range.start, range.start + length, except, output);
+ return private_f_print_except(buffer.string, range.start, range.start + length, except, stream);
}
#endif // _di_f_print_except_dynamic_partial_
#ifndef _di_f_print_except_dynamic_partial_raw_
- f_status_t f_print_except_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, FILE * const output) {
+ f_status_t f_print_except_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, FILE * const stream) {
#ifndef _di_level_0_parameter_checking_
- if (!output) return F_status_set_error(F_parameter);
+ if (!stream) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!buffer.used || range.start > range.stop || range.start >= buffer.used || !buffer.string) {
length = buffer.used - range.start;
}
- return private_f_print_except_raw(buffer.string, range.start, range.start + length, except, output);
+ return private_f_print_except_raw(buffer.string, range.start, range.start + length, except, stream);
}
#endif // _di_f_print_except_dynamic_partial_raw_
#ifndef _di_f_print_except_dynamic_partial_raw_safely_
- f_status_t f_print_except_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, FILE * const output) {
+ f_status_t f_print_except_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, FILE * const stream) {
#ifndef _di_level_0_parameter_checking_
- if (!output) return F_status_set_error(F_parameter);
+ if (!stream) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!buffer.used || range.start > range.stop || range.start >= buffer.used || !buffer.string) {
length = buffer.used - range.start;
}
- return private_f_print_except_raw_safely(buffer.string, range.start, range.start + length, except, output);
+ return private_f_print_except_raw_safely(buffer.string, range.start, range.start + length, except, stream);
}
#endif // _di_f_print_except_dynamic_partial_raw_safely_
#ifndef _di_f_print_except_dynamic_partial_safely_
- f_status_t f_print_except_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, FILE * const output) {
+ f_status_t f_print_except_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, FILE * const stream) {
#ifndef _di_level_0_parameter_checking_
- if (!output) return F_status_set_error(F_parameter);
+ if (!stream) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!buffer.used || range.start > range.stop || range.start >= buffer.used || !buffer.string) {
length = buffer.used - range.start;
}
- return private_f_print_except_safely(buffer.string, range.start, range.start + length, except, output);
+ return private_f_print_except_safely(buffer.string, range.start, range.start + length, except, stream);
}
#endif // _di_f_print_except_dynamic_partial_safely_
#ifndef _di_f_print_except_dynamic_raw_
- f_status_t f_print_except_dynamic_raw(const f_string_static_t buffer, const f_array_lengths_t except, FILE * const output) {
+ f_status_t f_print_except_dynamic_raw(const f_string_static_t buffer, const f_array_lengths_t except, FILE * const stream) {
#ifndef _di_level_0_parameter_checking_
- if (!output) return F_status_set_error(F_parameter);
+ if (!stream) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!buffer.used || !buffer.string) return F_data_not;
- return private_f_print_except_raw(buffer.string, 0, buffer.used, except, output);
+ return private_f_print_except_raw(buffer.string, 0, buffer.used, except, stream);
}
#endif // _di_f_print_except_dynamic_raw_
#ifndef _di_f_print_except_dynamic_raw_safely_
- f_status_t f_print_except_dynamic_raw_safely(const f_string_static_t buffer, const f_array_lengths_t except, FILE * const output) {
+ f_status_t f_print_except_dynamic_raw_safely(const f_string_static_t buffer, const f_array_lengths_t except, FILE * const stream) {
#ifndef _di_level_0_parameter_checking_
- if (!output) return F_status_set_error(F_parameter);
+ if (!stream) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!buffer.used || !buffer.string) return F_data_not;
- return private_f_print_except_raw_safely(buffer.string, 0, buffer.used, except, output);
+ return private_f_print_except_raw_safely(buffer.string, 0, buffer.used, except, stream);
}
#endif // _di_f_print_except_dynamic_raw_safely_
#ifndef _di_f_print_except_dynamic_safely_
- f_status_t f_print_except_dynamic_safely(const f_string_static_t buffer, const f_array_lengths_t except, FILE * const output) {
+ f_status_t f_print_except_dynamic_safely(const f_string_static_t buffer, const f_array_lengths_t except, FILE * const stream) {
#ifndef _di_level_0_parameter_checking_
- if (!output) return F_status_set_error(F_parameter);
+ if (!stream) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!buffer.used || !buffer.string) return F_data_not;
- return private_f_print_except_safely(buffer.string, 0, buffer.used, except, output);
+ return private_f_print_except_safely(buffer.string, 0, buffer.used, except, stream);
}
#endif // _di_f_print_except_dynamic_safely_
#ifndef _di_f_print_except_in_
- f_status_t f_print_except_in(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const output) {
+ f_status_t f_print_except_in(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const stream) {
#ifndef _di_level_0_parameter_checking_
- if (!output) return F_status_set_error(F_parameter);
+ if (!stream) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!length || !string) {
return F_data_not;
}
- return private_f_print_except_in(string, offset, length, except_at, except_in, output);
+ return private_f_print_except_in(string, offset, length, except_at, except_in, stream);
}
#endif // _di_f_print_except_in_
#ifndef _di_f_print_except_in_dynamic_
- f_status_t f_print_except_in_dynamic(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const output) {
+ f_status_t f_print_except_in_dynamic(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const stream) {
#ifndef _di_level_0_parameter_checking_
- if (!output) return F_status_set_error(F_parameter);
+ if (!stream) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!buffer.used || !buffer.string) return F_data_not;
- return private_f_print_except_in(buffer.string, 0, buffer.used, except_at, except_in, output);
+ return private_f_print_except_in(buffer.string, 0, buffer.used, except_at, except_in, stream);
}
#endif // _di_f_print_except_in_dynamic_
#ifndef _di_f_print_except_in_dynamic_partial_
- f_status_t f_print_except_in_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const output) {
+ f_status_t f_print_except_in_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const stream) {
#ifndef _di_level_0_parameter_checking_
- if (!output) return F_status_set_error(F_parameter);
+ if (!stream) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!buffer.used || range.start > range.stop || range.start >= buffer.used || !buffer.string) {
length = buffer.used - range.start;
}
- return private_f_print_except_in(buffer.string, range.start, range.start + length, except_at, except_in, output);
+ return private_f_print_except_in(buffer.string, range.start, range.start + length, except_at, except_in, stream);
}
#endif // _di_f_print_except_in_dynamic_partial_
#ifndef _di_f_print_except_in_dynamic_partial_raw_
- f_status_t f_print_except_in_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const output) {
+ f_status_t f_print_except_in_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const stream) {
#ifndef _di_level_0_parameter_checking_
- if (!output) return F_status_set_error(F_parameter);
+ if (!stream) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!buffer.used || range.start > range.stop || range.start >= buffer.used || !buffer.string) {
length = buffer.used - range.start;
}
- return private_f_print_except_in_raw(buffer.string, range.start, range.start + length, except_at, except_in, output);
+ return private_f_print_except_in_raw(buffer.string, range.start, range.start + length, except_at, except_in, stream);
}
#endif // _di_f_print_except_in_dynamic_partial_raw_
#ifndef _di_f_print_except_in_dynamic_partial_raw_safely_
- f_status_t f_print_except_in_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const output) {
+ f_status_t f_print_except_in_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const stream) {
#ifndef _di_level_0_parameter_checking_
- if (!output) return F_status_set_error(F_parameter);
+ if (!stream) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!buffer.used || range.start > range.stop || range.start >= buffer.used || !buffer.string) {
length = buffer.used - range.start;
}
- return private_f_print_except_in_raw_safely(buffer.string, range.start, range.start + length, except_at, except_in, output);
+ return private_f_print_except_in_raw_safely(buffer.string, range.start, range.start + length, except_at, except_in, stream);
}
#endif // _di_f_print_except_in_dynamic_partial_raw_safely_
#ifndef _di_f_print_except_in_dynamic_partial_safely_
- f_status_t f_print_except_in_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const output) {
+ f_status_t f_print_except_in_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const stream) {
#ifndef _di_level_0_parameter_checking_
- if (!output) return F_status_set_error(F_parameter);
+ if (!stream) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!buffer.used || range.start > range.stop || range.start >= buffer.used || !buffer.string) {
length = buffer.used - range.start;
}
- return private_f_print_except_in_safely(buffer.string, range.start, range.start + length, except_at, except_in, output);
+ return private_f_print_except_in_safely(buffer.string, range.start, range.start + length, except_at, except_in, stream);
}
#endif // _di_f_print_except_in_dynamic_partial_safely_
#ifndef _di_f_print_except_in_dynamic_raw_
- f_status_t f_print_except_in_dynamic_raw(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const output) {
+ f_status_t f_print_except_in_dynamic_raw(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const stream) {
#ifndef _di_level_0_parameter_checking_
- if (!output) return F_status_set_error(F_parameter);
+ if (!stream) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!buffer.used || !buffer.string) return F_data_not;
- return private_f_print_except_in_raw(buffer.string, 0, buffer.used, except_at, except_in, output);
+ return private_f_print_except_in_raw(buffer.string, 0, buffer.used, except_at, except_in, stream);
}
#endif // _di_f_print_except_in_dynamic_raw_
#ifndef _di_f_print_except_in_dynamic_raw_safely_
- f_status_t f_print_except_in_dynamic_raw_safely(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const output) {
+ f_status_t f_print_except_in_dynamic_raw_safely(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const stream) {
#ifndef _di_level_0_parameter_checking_
- if (!output) return F_status_set_error(F_parameter);
+ if (!stream) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!buffer.used || !buffer.string) return F_data_not;
- return private_f_print_except_in_raw_safely(buffer.string, 0, buffer.used, except_at, except_in, output);
+ return private_f_print_except_in_raw_safely(buffer.string, 0, buffer.used, except_at, except_in, stream);
}
#endif // _di_f_print_except_in_dynamic_raw_safely_
#ifndef _di_f_print_except_in_dynamic_safely_
- f_status_t f_print_except_in_dynamic_safely(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const output) {
+ f_status_t f_print_except_in_dynamic_safely(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const stream) {
#ifndef _di_level_0_parameter_checking_
- if (!output) return F_status_set_error(F_parameter);
+ if (!stream) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!buffer.used || !buffer.string) return F_data_not;
- return private_f_print_except_in_safely(buffer.string, 0, buffer.used, except_at, except_in, output);
+ return private_f_print_except_in_safely(buffer.string, 0, buffer.used, except_at, except_in, stream);
}
#endif // _di_f_print_except_in_dynamic_safely_
#ifndef _di_f_print_except_in_raw_
- f_status_t f_print_except_in_raw(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const output) {
+ f_status_t f_print_except_in_raw(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const stream) {
#ifndef _di_level_0_parameter_checking_
- if (!output) return F_status_set_error(F_parameter);
+ if (!stream) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!length || !string) {
return F_data_not;
}
- return private_f_print_except_in_raw(string, offset, length, except_at, except_in, output);
+ return private_f_print_except_in_raw(string, offset, length, except_at, except_in, stream);
}
#endif // _di_f_print_except_in_raw_
#ifndef _di_f_print_except_in_raw_safely_
- f_status_t f_print_except_in_raw_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const output) {
+ f_status_t f_print_except_in_raw_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const stream) {
#ifndef _di_level_0_parameter_checking_
- if (!output) return F_status_set_error(F_parameter);
+ if (!stream) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!length || !string) {
return F_data_not;
}
- return private_f_print_except_in_raw_safely(string, offset, length, except_at, except_in, output);
+ return private_f_print_except_in_raw_safely(string, offset, length, except_at, except_in, stream);
}
#endif // _di_f_print_except_in_raw_safely_
#ifndef _di_f_print_except_in_safely_
- f_status_t f_print_except_in_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const output) {
+ f_status_t f_print_except_in_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const stream) {
#ifndef _di_level_0_parameter_checking_
- if (!output) return F_status_set_error(F_parameter);
+ if (!stream) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!length || !string) {
return F_data_not;
}
- return private_f_print_except_in_safely(string, offset, length, except_at, except_in, output);
+ return private_f_print_except_in_safely(string, offset, length, except_at, except_in, stream);
}
#endif // _di_f_print_except_in_safely_
#ifndef _di_f_print_except_raw_
- f_status_t f_print_except_raw(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except, FILE * const output) {
+ f_status_t f_print_except_raw(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except, FILE * const stream) {
#ifndef _di_level_0_parameter_checking_
- if (!output) return F_status_set_error(F_parameter);
+ if (!stream) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!length || !string) {
return F_data_not;
}
- return private_f_print_except_raw(string, offset, length, except, output);
+ return private_f_print_except_raw(string, offset, length, except, stream);
}
#endif // _di_f_print_except_raw_
#ifndef _di_f_print_except_raw_safely_
- f_status_t f_print_except_raw_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except, FILE * const output) {
+ f_status_t f_print_except_raw_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except, FILE * const stream) {
#ifndef _di_level_0_parameter_checking_
- if (!output) return F_status_set_error(F_parameter);
+ if (!stream) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!length || !string) {
return F_data_not;
}
- return private_f_print_except_raw_safely(string, offset, length, except, output);
+ return private_f_print_except_raw_safely(string, offset, length, except, stream);
}
#endif // _di_f_print_except_raw_safely_
#ifndef _di_f_print_except_safely_
- f_status_t f_print_except_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except, FILE * const output) {
+ f_status_t f_print_except_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except, FILE * const stream) {
#ifndef _di_level_0_parameter_checking_
- if (!output) return F_status_set_error(F_parameter);
+ if (!stream) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!length || !string) {
return F_data_not;
}
- return private_f_print_except_safely(string, offset, length, except, output);
+ return private_f_print_except_safely(string, offset, length, except, stream);
}
#endif // _di_f_print_except_safely_
#ifndef _di_f_print_raw_
- f_status_t f_print_raw(const f_string_t string, const f_array_length_t length, FILE * const output) {
+ f_status_t f_print_raw(const f_string_t string, const f_array_length_t length, FILE * const stream) {
#ifndef _di_level_0_parameter_checking_
- if (!output) return F_status_set_error(F_parameter);
+ if (!stream) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!length || !string) {
return F_data_not;
}
- return private_f_print_raw(string, length, output);
+ return private_f_print_raw(string, length, stream);
}
#endif // _di_f_print_raw_
#ifndef _di_f_print_raw_safely_
- f_status_t f_print_raw_safely(const f_string_t string, const f_array_length_t length, FILE * const output) {
+ f_status_t f_print_raw_safely(const f_string_t string, const f_array_length_t length, FILE * const stream) {
#ifndef _di_level_0_parameter_checking_
- if (!output) return F_status_set_error(F_parameter);
+ if (!stream) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!length || !string) {
return F_data_not;
}
- return private_f_print_raw_safely(string, length, output);
+ return private_f_print_raw_safely(string, length, stream);
}
#endif // _di_f_print_raw_safely_
#ifndef _di_f_print_raw_terminated_
- f_status_t f_print_raw_terminated(const f_string_t string, FILE * const output) {
+ f_status_t f_print_raw_terminated(const f_string_t string, FILE * const stream) {
#ifndef _di_level_0_parameter_checking_
- if (!output) return F_status_set_error(F_parameter);
+ if (!stream) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!string) {
}
// The f_print_raw_terminated() and f_print_terminated() are functionality identical due to being NULL terminated.
- return private_f_print_terminated(string, output);
+ return private_f_print_terminated(string, stream);
}
#endif // _di_f_print_raw_terminated_
#ifndef _di_f_print_safely_
- f_status_t f_print_safely(const f_string_t string, const f_array_length_t length, FILE * const output) {
+ f_status_t f_print_safely(const f_string_t string, const f_array_length_t length, FILE * const stream) {
#ifndef _di_level_0_parameter_checking_
- if (!output) return F_status_set_error(F_parameter);
+ if (!stream) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!length || !string) {
return F_data_not;
}
- return private_f_print_safely(string, length, output);
+ return private_f_print_safely(string, length, stream);
}
#endif // _di_f_print_safely_
#endif // _di_f_print_safely_get_
#ifndef _di_f_print_safely_terminated_
- f_status_t f_print_safely_terminated(const f_string_t string, FILE * const output) {
+ f_status_t f_print_safely_terminated(const f_string_t string, FILE * const stream) {
#ifndef _di_level_0_parameter_checking_
- if (!output) return F_status_set_error(F_parameter);
+ if (!stream) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!string) {
uint8_t width = 0;
- clearerr_unlocked(output);
+ clearerr_unlocked(stream);
for (register f_array_length_t i = 0; string[i]; ) {
count = 0;
do {
- count += fwrite_unlocked(string + start + count, 1, total - count, output);
+ count += fwrite_unlocked(string + start + count, 1, total - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
count = 0;
do {
- count += fwrite_unlocked(safe.string + count, 1, safe.used - count, output);
+ count += fwrite_unlocked(safe.string + count, 1, safe.used - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
count = 0;
do {
- count += fwrite_unlocked(string + start + count, 1, total - count, output);
+ count += fwrite_unlocked(string + start + count, 1, total - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
count = 0;
do {
- count += fwrite_unlocked(string + start + count, 1, total - count, output);
+ count += fwrite_unlocked(string + start + count, 1, total - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
#endif // _di_f_print_safely_terminated_
#ifndef _di_f_print_terminated_
- f_status_t f_print_terminated(const f_string_t string, FILE * const output) {
+ f_status_t f_print_terminated(const f_string_t string, FILE * const stream) {
#ifndef _di_level_0_parameter_checking_
- if (!output) return F_status_set_error(F_parameter);
+ if (!stream) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
if (!string) {
return F_data_not;
}
- return private_f_print_terminated(string, output);
+ return private_f_print_terminated(string, stream);
}
#endif // _di_f_print_terminated_
* The string to output.
* @param length
* The total number of characters to print.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see fwrite_unlocked()
*/
#ifndef _di_f_print_
- extern f_status_t f_print(const f_string_t string, const f_array_length_t length, FILE * const output);
+ extern f_status_t f_print(const f_string_t string, const f_array_length_t length, FILE * const stream);
#endif // _di_f_print_
/**
*
* @param character
* The character to verify as safe or not and then print.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see fwrite_unlocked()
*/
#ifndef _di_f_print_character_
- extern f_status_t f_print_character(const f_char_t character, FILE * const output);
+ extern f_status_t f_print_character(const f_char_t character, FILE * const stream);
#endif // _di_f_print_character_
/**
*
* @param character
* The character to verify as safe or not and then print.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see fwrite_unlocked()
*/
#ifndef _di_f_print_character_safely_
- extern f_status_t f_print_character_safely(const f_char_t character, FILE * const output);
+ extern f_status_t f_print_character_safely(const f_char_t character, FILE * const stream);
#endif // _di_f_print_character_safely_
/**
*
* @param buffer
* The string to output.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see fwrite_unlocked()
*/
#ifndef _di_f_print_dynamic_
- extern f_status_t f_print_dynamic(const f_string_static_t buffer, FILE * const output);
+ extern f_status_t f_print_dynamic(const f_string_static_t buffer, FILE * const stream);
#endif // _di_f_print_dynamic_
/**
* The string to output.
* @param range
* The range within the provided string to print.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see fwrite_unlocked()
*/
#ifndef _di_f_print_dynamic_partial_
- extern f_status_t f_print_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, FILE * const output);
+ extern f_status_t f_print_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, FILE * const stream);
#endif // _di_f_print_dynamic_partial_
/**
* The string to output.
* @param range
* The range within the provided string to print.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see fwrite_unlocked()
*/
#ifndef _di_f_print_dynamic_partial_raw_
- extern f_status_t f_print_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, FILE * const output);
+ extern f_status_t f_print_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, FILE * const stream);
#endif // _di_f_print_dynamic_partial_raw_
/**
* The string to output.
* @param range
* The range within the provided string to print.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see f_utf_is_valid()
*/
#ifndef _di_f_print_dynamic_partial_raw_safely_
- extern f_status_t f_print_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, FILE * const output);
+ extern f_status_t f_print_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, FILE * const stream);
#endif // _di_f_print_dynamic_partial_raw_safely_
/**
* The string to output.
* @param range
* The range within the provided string to print.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see f_utf_is_valid()
*/
#ifndef _di_f_print_dynamic_partial_safely_
- extern f_status_t f_print_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, FILE * const output);
+ extern f_status_t f_print_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, FILE * const stream);
#endif // _di_f_print_dynamic_partial_safely_
/**
*
* @param buffer
* The string to output.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see fwrite_unlocked()
*/
#ifndef _di_f_print_dynamic_raw_
- extern f_status_t f_print_dynamic_raw(const f_string_static_t buffer, FILE * const output);
+ extern f_status_t f_print_dynamic_raw(const f_string_static_t buffer, FILE * const stream);
#endif // _di_f_print_dynamic_raw_
/**
*
* @param buffer
* The string to output.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see f_utf_is_valid()
*/
#ifndef _di_f_print_dynamic_raw_safely_
- extern f_status_t f_print_dynamic_raw_safely(const f_string_static_t buffer, FILE * const output);
+ extern f_status_t f_print_dynamic_raw_safely(const f_string_static_t buffer, FILE * const stream);
#endif // _di_f_print_dynamic_raw_safely_
/**
*
* @param buffer
* The string to output.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see f_utf_is_valid()
*/
#ifndef _di_f_print_dynamic_safely_
- extern f_status_t f_print_dynamic_safely(const f_string_static_t buffer, FILE * const output);
+ extern f_status_t f_print_dynamic_safely(const f_string_static_t buffer, FILE * const stream);
#endif // _di_f_print_dynamic_safely_
/**
* @param except
* An array of locations within the given string to not print.
* The array of locations is required/assumed to be in linear order.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see fwrite_unlocked()
*/
#ifndef _di_f_print_except_
- extern f_status_t f_print_except(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except, FILE * const output);
+ extern f_status_t f_print_except(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except, FILE * const stream);
#endif // _di_f_print_except_
/**
* @param except
* An array of locations within the given string to not print.
* The array of locations is required/assumed to be in linear order.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see fwrite_unlocked()
*/
#ifndef _di_f_print_except_dynamic_
- extern f_status_t f_print_except_dynamic(const f_string_static_t buffer, const f_array_lengths_t except, FILE * const output);
+ extern f_status_t f_print_except_dynamic(const f_string_static_t buffer, const f_array_lengths_t except, FILE * const stream);
#endif // _di_f_print_except_dynamic_
/**
* @param except
* An array of locations within the given string to not print.
* The array of locations is required/assumed to be in linear order.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see fwrite_unlocked()
*/
#ifndef _di_f_print_dynamic_except_partial_
- extern f_status_t f_print_except_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, FILE * const output);
+ extern f_status_t f_print_except_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, FILE * const stream);
#endif // _di_f_print_except_dynamic_partial_
/**
* @param except
* An array of locations within the given string to not print.
* The array of locations is required/assumed to be in linear order.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see fwrite_unlocked()
*/
#ifndef _di_f_print_dynamic_except_partial_raw_
- extern f_status_t f_print_except_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, FILE * const output);
+ extern f_status_t f_print_except_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, FILE * const stream);
#endif // _di_f_print_except_dynamic_partial_raw_
/**
* @param except
* An array of locations within the given string to not print.
* The array of locations is required/assumed to be in linear order.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see f_utf_is_valid()
*/
#ifndef _di_f_print_dynamic_except_partial_raw_safely_
- extern f_status_t f_print_except_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, FILE * const output);
+ extern f_status_t f_print_except_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, FILE * const stream);
#endif // _di_f_print_except_dynamic_partial_raw_safely_
/**
* @param except
* An array of locations within the given string to not print.
* The array of locations is required/assumed to be in linear order.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see f_utf_is_valid()
*/
#ifndef _di_f_print_dynamic_except_partial_safely_
- extern f_status_t f_print_except_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, FILE * const output);
+ extern f_status_t f_print_except_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except, FILE * const stream);
#endif // _di_f_print_except_dynamic_partial_safely_
/**
* @param except
* An array of locations within the given string to not print.
* The array of locations is required/assumed to be in linear order.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see fwrite_unlocked()
*/
#ifndef _di_f_print_except_dynamic_raw_
- extern f_status_t f_print_except_dynamic_raw(const f_string_static_t buffer, const f_array_lengths_t except, FILE * const output);
+ extern f_status_t f_print_except_dynamic_raw(const f_string_static_t buffer, const f_array_lengths_t except, FILE * const stream);
#endif // _di_f_print_except_dynamic_raw_
/**
* @param except
* An array of locations within the given string to not print.
* The array of locations is required/assumed to be in linear order.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see f_utf_is_valid()
*/
#ifndef _di_f_print_except_dynamic_raw_safely_
- extern f_status_t f_print_except_dynamic_raw_safely(const f_string_static_t buffer, const f_array_lengths_t except, FILE * const output);
+ extern f_status_t f_print_except_dynamic_raw_safely(const f_string_static_t buffer, const f_array_lengths_t except, FILE * const stream);
#endif // _di_f_print_except_dynamic_raw_safely_
/**
* @param except
* An array of locations within the given string to not print.
* The array of locations is required/assumed to be in linear order.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see f_utf_is_valid()
*/
#ifndef _di_f_print_except_dynamic_safely_
- extern f_status_t f_print_except_dynamic_safely(const f_string_static_t buffer, const f_array_lengths_t except, FILE * const output);
+ extern f_status_t f_print_except_dynamic_safely(const f_string_static_t buffer, const f_array_lengths_t except, FILE * const stream);
#endif // _di_f_print_except_dynamic_safely_
/**
* @param except_in
* An array of ranges within the string to not print.
* The array of ranges is required/assumed to be in linear order.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see fwrite_unlocked()
*/
#ifndef _di_f_print_except_in_
- extern f_status_t f_print_except_in(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const output);
+ extern f_status_t f_print_except_in(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const stream);
#endif // _di_f_print_except_in_
/**
* @param except_in
* An array of ranges within the string to not print.
* The array of ranges is required/assumed to be in linear order.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see fwrite_unlocked()
*/
#ifndef _di_f_print_except_in_dynamic_
- extern f_status_t f_print_except_in_dynamic(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const output);
+ extern f_status_t f_print_except_in_dynamic(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const stream);
#endif // _di_f_print_except_in_dynamic_
/**
* @param except_in
* An array of ranges within the string to not print.
* The array of ranges is required/assumed to be in linear order.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see fwrite_unlocked()
*/
#ifndef _di_f_print_dynamic_except_partial_
- extern f_status_t f_print_except_in_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const output);
+ extern f_status_t f_print_except_in_dynamic_partial(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const stream);
#endif // _di_f_print_except_in_dynamic_partial_
/**
* @param except_in
* An array of ranges within the string to not print.
* The array of ranges is required/assumed to be in linear order.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see fwrite_unlocked()
*/
#ifndef _di_f_print_dynamic_except_partial_raw_
- extern f_status_t f_print_except_in_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const output);
+ extern f_status_t f_print_except_in_dynamic_partial_raw(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const stream);
#endif // _di_f_print_except_in_dynamic_partial_raw_
/**
* @param except_in
* An array of ranges within the string to not print.
* The array of ranges is required/assumed to be in linear order.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see f_utf_is_valid()
*/
#ifndef _di_f_print_dynamic_except_partial_raw_safely_
- extern f_status_t f_print_except_in_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const output);
+ extern f_status_t f_print_except_in_dynamic_partial_raw_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const stream);
#endif // _di_f_print_except_in_dynamic_partial_raw_safely_
/**
* @param except_in
* An array of ranges within the string to not print.
* The array of ranges is required/assumed to be in linear order.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see f_utf_is_valid()
*/
#ifndef _di_f_print_dynamic_except_partial_safely_
- extern f_status_t f_print_except_in_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const output);
+ extern f_status_t f_print_except_in_dynamic_partial_safely(const f_string_static_t buffer, const f_string_range_t range, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const stream);
#endif // _di_f_print_except_in_dynamic_partial_safely_
/**
* @param except_in
* An array of ranges within the string to not print.
* The array of ranges is required/assumed to be in linear order.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see fwrite_unlocked()
*/
#ifndef _di_f_print_except_in_dynamic_raw_
- extern f_status_t f_print_except_in_dynamic_raw(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const output);
+ extern f_status_t f_print_except_in_dynamic_raw(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const stream);
#endif // _di_f_print_except_in_dynamic_raw_
/**
* @param except_in
* An array of ranges within the string to not print.
* The array of ranges is required/assumed to be in linear order.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see f_utf_is_valid()
*/
#ifndef _di_f_print_except_in_dynamic_raw_safely_
- extern f_status_t f_print_except_in_dynamic_raw_safely(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const output);
+ extern f_status_t f_print_except_in_dynamic_raw_safely(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const stream);
#endif // _di_f_print_except_in_dynamic_raw_safely_
/**
* @param except_in
* An array of ranges within the string to not print.
* The array of ranges is required/assumed to be in linear order.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see f_utf_is_valid()
*/
#ifndef _di_f_print_except_in_dynamic_safely_
- extern f_status_t f_print_except_in_dynamic_safely(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const output);
+ extern f_status_t f_print_except_in_dynamic_safely(const f_string_static_t buffer, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const stream);
#endif // _di_f_print_except_in_dynamic_safely_
/**
* @param except_in
* An array of ranges within the string to not print.
* The array of ranges is required/assumed to be in linear order.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see fwrite_unlocked()
*/
#ifndef _di_f_print_except_in_raw_
- extern f_status_t f_print_except_in_raw(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const output);
+ extern f_status_t f_print_except_in_raw(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const stream);
#endif // _di_f_print_except_in_raw_
/**
* @param except_in
* An array of ranges within the string to not print.
* The array of ranges is required/assumed to be in linear order.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see f_utf_is_valid()
*/
#ifndef _di_f_print_except_in_raw_safely_
- extern f_status_t f_print_except_in_raw_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const output);
+ extern f_status_t f_print_except_in_raw_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const stream);
#endif // _di_f_print_except_in_raw_safely_
/**
* @param except_in
* An array of ranges within the string to not print.
* The array of ranges is required/assumed to be in linear order.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see f_utf_is_valid()
*/
#ifndef _di_f_print_except_in_safely_
- extern f_status_t f_print_except_in_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const output);
+ extern f_status_t f_print_except_in_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const stream);
#endif // _di_f_print_except_in_safely_
/**
* @param except
* An array of locations within the given string to not print.
* The array of locations is required/assumed to be in linear order.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see fwrite_unlocked()
*/
#ifndef _di_f_print_except_raw_
- extern f_status_t f_print_except_raw(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except, FILE * const output);
+ extern f_status_t f_print_except_raw(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except, FILE * const stream);
#endif // _di_f_print_except_raw_
/**
* @param except
* An array of locations within the given string to not print.
* The array of locations is required/assumed to be in linear order.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see f_utf_is_valid()
*/
#ifndef _di_f_print_except_raw_safely_
- extern f_status_t f_print_except_raw_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except, FILE * const output);
+ extern f_status_t f_print_except_raw_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except, FILE * const stream);
#endif // _di_f_print_except_raw_safely_
/**
* @param except
* An array of locations within the given string to not print.
* The array of locations is required/assumed to be in linear order.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see f_utf_is_valid()
*/
#ifndef _di_f_print_except_safely_
- extern f_status_t f_print_except_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except, FILE * const output);
+ extern f_status_t f_print_except_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t length, const f_array_lengths_t except, FILE * const stream);
#endif // _di_f_print_except_safely_
/**
* The string to output.
* @param length
* The total number of characters to print.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see fwrite_unlocked()
*/
#ifndef _di_f_print_raw_
- extern f_status_t f_print_raw(const f_string_t string, const f_array_length_t length, FILE * const output);
+ extern f_status_t f_print_raw(const f_string_t string, const f_array_length_t length, FILE * const stream);
#endif // _di_f_print_raw_
/**
* The string to output.
* @param length
* The total number of characters to print.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see f_utf_is_valid()
*/
#ifndef _di_f_print_raw_safely_
- extern f_status_t f_print_raw_safely(const f_string_t string, const f_array_length_t length, FILE * const output);
+ extern f_status_t f_print_raw_safely(const f_string_t string, const f_array_length_t length, FILE * const stream);
#endif // _di_f_print_raw_safely_
/**
*
* @param string
* The string to output.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see fwrite_unlocked()
*/
#ifndef _di_f_print_raw_terminated_
- extern f_status_t f_print_raw_terminated(const f_string_t string, FILE * const output);
+ extern f_status_t f_print_raw_terminated(const f_string_t string, FILE * const stream);
#endif // _di_f_print_raw_terminated_
/**
* The string to output.
* @param length
* The total number of characters to print.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see f_utf_is_valid()
*/
#ifndef _di_f_print_safely_
- extern f_status_t f_print_safely(const f_string_t string, const f_array_length_t length, FILE * const output);
+ extern f_status_t f_print_safely(const f_string_t string, const f_array_length_t length, FILE * const stream);
#endif // _di_f_print_safely_
/**
* The string to output.
* @param length
* The total number of characters to print.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see f_utf_is_valid()
*/
#ifndef _di_f_print_safely_terminated_
- extern f_status_t f_print_safely_terminated(const f_string_t string, FILE * const output);
+ extern f_status_t f_print_safely_terminated(const f_string_t string, FILE * const stream);
#endif // _di_f_print_safely_terminated_
/**
*
* @param string
* The string to output.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see fwrite_unlocked()
*/
#ifndef _di_f_print_terminated_
- extern f_status_t f_print_terminated(const f_string_t string, FILE * const output);
+ extern f_status_t f_print_terminated(const f_string_t string, FILE * const stream);
#endif // _di_f_print_terminated_
#ifdef __cplusplus
#endif
#if !defined(_di_f_print_) || !defined(_di_f_print_dynamic_) || !defined(_di_f_print_dynamic_partial_)
- f_status_t private_f_print(const f_string_t string, const f_array_length_t length, FILE * const output) {
+ f_status_t private_f_print(const f_string_t string, const f_array_length_t length, FILE * const stream) {
f_array_length_t total = 0;
f_array_length_t count = 0;
- clearerr_unlocked(output);
+ clearerr_unlocked(stream);
for (register f_array_length_t i = 0; i < length; ) {
count = 0;
do {
- count += fwrite_unlocked(string + i + count, 1, total - count, output);
+ count += fwrite_unlocked(string + i + count, 1, total - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
#endif // !defined(_di_f_print_character_safely_get_) || !defined(_di_f_print_dynamic_partial_safely_) || !defined(_di_f_print_dynamic_safely_) || !defined(_di_f_print_except_dynamic_partial_safely_) || !defined(_di_f_print_except_dynamic_safely_) || !defined(_di_f_print_except_in_dynamic_safely_) || !defined(_di_f_print_except_in_dynamic_partial_safely_) || !defined(_di_f_print_except_in_safely_) || !defined(_di_f_print_except_safely_) || !defined(_di_f_print_safely_) || !defined(_di_f_print_safely_terminated_) || !defined(_di_f_print_to_dynamic_partial_safely_) || !defined(_di_f_print_to_dynamic_safely_) || !defined(_di_f_print_to_except_dynamic_partial_safely_) || !defined(_di_f_print_to_except_dynamic_safely_) || !defined(_di_f_print_to_except_in_dynamic_safely_) || !defined(_di_f_print_to_except_in_dynamic_partial_safely_) || !defined(_di_f_print_to_except_in_safely_) || !defined(_di_f_print_to_except_safely_) || !defined(_di_f_print_to_safely_)
#if !defined(_di_f_print_except_) || !defined(_di_f_print_except_dynamic_) || !defined(_di_f_print_except_dynamic_partial_)
- f_status_t private_f_print_except(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except, FILE * const output) {
+ f_status_t private_f_print_except(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except, FILE * const stream) {
register f_array_length_t i = offset;
f_array_length_t j = 0;
f_array_length_t total = 0;
f_array_length_t count = 0;
- clearerr_unlocked(output);
+ clearerr_unlocked(stream);
while (i < stop) {
count = 0;
do {
- count += fwrite_unlocked(string + start + count, 1, total - count, output);
+ count += fwrite_unlocked(string + start + count, 1, total - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
count = 0;
do {
- count += fwrite_unlocked(string + start + count, 1, total - count, output);
+ count += fwrite_unlocked(string + start + count, 1, total - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
#endif // !defined(_di_f_print_except_) || !defined(_di_f_print_except_dynamic_) || !defined(_di_f_print_except_dynamic_partial_)
#if !defined(_di_f_print_except_in_) || !defined(_di_f_print_except_in_dynamic_) || !defined(_di_f_print_except_in_dynamic_partial_)
- f_status_t private_f_print_except_in(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const output) {
+ f_status_t private_f_print_except_in(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const stream) {
f_array_length_t i = offset;
f_array_length_t at = 0;
f_array_length_t total = 0;
f_array_length_t count = 0;
- clearerr_unlocked(output);
+ clearerr_unlocked(stream);
while (i < stop) {
count = 0;
do {
- count += fwrite_unlocked(string + start + count, 1, total - count, output);
+ count += fwrite_unlocked(string + start + count, 1, total - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
count = 0;
do {
- count += fwrite_unlocked(string + start + count, 1, total - count, output);
+ count += fwrite_unlocked(string + start + count, 1, total - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
count = 0;
do {
- count += fwrite_unlocked(string + start + count, 1, total - count, output);
+ count += fwrite_unlocked(string + start + count, 1, total - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
#endif // !defined(_di_f_print_except_in_) || !defined(_di_f_print_except_in_dynamic_) || !defined(_di_f_print_except_in_dynamic_partial_)
#if !defined(_di_f_print_except_in_raw_) || !defined(_di_f_print_except_in_dynamic_raw_) || !defined(_di_f_print_except_in_dynamic_partial_raw_)
- f_status_t private_f_print_except_in_raw(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const output) {
+ f_status_t private_f_print_except_in_raw(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const stream) {
f_array_length_t i = offset;
f_array_length_t at = 0;
f_array_length_t total = 0;
f_array_length_t count = 0;
- clearerr_unlocked(output);
+ clearerr_unlocked(stream);
while (i < stop) {
count = 0;
do {
- count += fwrite_unlocked(string + start + count, 1, total - count, output);
+ count += fwrite_unlocked(string + start + count, 1, total - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
count = 0;
do {
- count += fwrite_unlocked(string + start + count, 1, total - count, output);
+ count += fwrite_unlocked(string + start + count, 1, total - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
count = 0;
do {
- count += fwrite_unlocked(string + start + count, 1, total - count, output);
+ count += fwrite_unlocked(string + start + count, 1, total - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
#endif // !defined(_di_f_print_except_in_raw_) || !defined(_di_f_print_except_in_dynamic_raw_) || !defined(_di_f_print_except_in_dynamic_partial_raw_)
#if !defined(_di_f_print_except_in_raw_safely_) || !defined(_di_f_print_except_in_dynamic_raw_safely_) || !defined(_di_f_print_except_in_dynamic_partial_raw_safely_)
- f_status_t private_f_print_except_in_raw_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const output) {
+ f_status_t private_f_print_except_in_raw_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const stream) {
f_array_length_t i = offset;
f_array_length_t at = 0;
uint8_t width = 0;
- clearerr_unlocked(output);
+ clearerr_unlocked(stream);
while (i < stop) {
count = 0;
do {
- count += fwrite_unlocked(string + start + count, 1, total - count, output);
+ count += fwrite_unlocked(string + start + count, 1, total - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
count = 0;
do {
- count += fwrite_unlocked(string + start + count, 1, total - count, output);
+ count += fwrite_unlocked(string + start + count, 1, total - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
count = 0;
do {
- count += fwrite_unlocked(string + start + count, 1, total - count, output);
+ count += fwrite_unlocked(string + start + count, 1, total - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
count = 0;
do {
- count += fwrite_unlocked(safe.string + count, 1, safe.used - count, output);
+ count += fwrite_unlocked(safe.string + count, 1, safe.used - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
count = 0;
do {
- count += fwrite_unlocked(string + start + count, 1, total - count, output);
+ count += fwrite_unlocked(string + start + count, 1, total - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
count = 0;
do {
- count += fwrite_unlocked(string + start + count, 1, total - count, output);
+ count += fwrite_unlocked(string + start + count, 1, total - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
#endif // !defined(_di_f_print_except_in_raw_safely_) || !defined(_di_f_print_except_in_dynamic_raw_safely_) || !defined(_di_f_print_except_in_dynamic_partial_raw_safely_)
#if !defined(_di_f_print_except_in_safely_) || !defined(_di_f_print_except_in_dynamic_safely_) || !defined(_di_f_print_except_in_dynamic_partial_safely_)
- f_status_t private_f_print_except_in_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const output) {
+ f_status_t private_f_print_except_in_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except_at, const f_string_ranges_t except_in, FILE * const stream) {
f_array_length_t i = offset;
f_array_length_t at = 0;
uint8_t width = 0;
- clearerr_unlocked(output);
+ clearerr_unlocked(stream);
while (i < stop) {
count = 0;
do {
- count += fwrite_unlocked(string + start + count, 1, total - count, output);
+ count += fwrite_unlocked(string + start + count, 1, total - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
count = 0;
do {
- count += fwrite_unlocked(string + start + count, 1, total - count, output);
+ count += fwrite_unlocked(string + start + count, 1, total - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
count = 0;
do {
- count += fwrite_unlocked(string + start + count, 1, total - count, output);
+ count += fwrite_unlocked(string + start + count, 1, total - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
count = 0;
do {
- count += fwrite_unlocked(string + start + count, 1, total - count, output);
+ count += fwrite_unlocked(string + start + count, 1, total - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
count = 0;
do {
- count += fwrite_unlocked(safe.string + count, 1, safe.used - count, output);
+ count += fwrite_unlocked(safe.string + count, 1, safe.used - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
count = 0;
do {
- count += fwrite_unlocked(string + start + count, 1, total - count, output);
+ count += fwrite_unlocked(string + start + count, 1, total - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
count = 0;
do {
- count += fwrite_unlocked(string + start + count, 1, total - count, output);
+ count += fwrite_unlocked(string + start + count, 1, total - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
#endif // !defined(_di_f_print_except_in_safely_) || !defined(_di_f_print_except_in_dynamic_safely_) || !defined(_di_f_print_except_in_dynamic_partial_safely_)
#if !defined(_di_f_print_except_raw_) || !defined(_di_f_print_except_dynamic_raw_) || !defined(_di_f_print_except_dynamic_partial_raw_)
- f_status_t private_f_print_except_raw(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except, FILE * const output) {
+ f_status_t private_f_print_except_raw(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except, FILE * const stream) {
register f_array_length_t i = offset;
f_array_length_t j = 0;
f_array_length_t total = 0;
f_array_length_t count = 0;
- clearerr_unlocked(output);
+ clearerr_unlocked(stream);
while (i < stop) {
count = 0;
do {
- count += fwrite_unlocked(string + start + count, 1, total - count, output);
+ count += fwrite_unlocked(string + start + count, 1, total - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
count = 0;
do {
- count += fwrite_unlocked(string + start + count, 1, total - count, output);
+ count += fwrite_unlocked(string + start + count, 1, total - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
count = 0;
do {
- count += fwrite_unlocked(string + start + count, 1, total - count, output);
+ count += fwrite_unlocked(string + start + count, 1, total - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
#endif // !defined(_di_f_print_except_raw_) || !defined(_di_f_print_except_dynamic_raw_) || !defined(_di_f_print_except_dynamic_partial_raw_)
#if !defined(_di_f_print_except_raw_safely_) || !defined(_di_f_print_except_dynamic_raw_) || !defined(_di_f_print_except_dynamic_partial_raw_)
- f_status_t private_f_print_except_raw_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except, FILE * const output) {
+ f_status_t private_f_print_except_raw_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except, FILE * const stream) {
f_array_length_t i = offset;
f_array_length_t j = 0;
uint8_t width = 0;
- clearerr_unlocked(output);
+ clearerr_unlocked(stream);
while (i < stop) {
count = 0;
do {
- count += fwrite_unlocked(string + start + count, 1, total - count, output);
+ count += fwrite_unlocked(string + start + count, 1, total - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
count = 0;
do {
- count += fwrite_unlocked(string + start + count, 1, total - count, output);
+ count += fwrite_unlocked(string + start + count, 1, total - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
count = 0;
do {
- count += fwrite_unlocked(safe.string + count, 1, safe.used - count, output);
+ count += fwrite_unlocked(safe.string + count, 1, safe.used - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
count = 0;
do {
- count += fwrite_unlocked(string + start + count, 1, total - count, output);
+ count += fwrite_unlocked(string + start + count, 1, total - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
count = 0;
do {
- count += fwrite_unlocked(string + start + count, 1, total - count, output);
+ count += fwrite_unlocked(string + start + count, 1, total - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
#endif // !defined(_di_f_print_except_raw_safely_) || !defined(_di_f_print_except_dynamic_raw_) || !defined(_di_f_print_except_dynamic_partial_raw_)
#if !defined(_di_f_print_except_safely_) || !defined(_di_f_print_except_dynamic_safely_) || !defined(_di_f_print_except_dynamic_partial_safely_)
- f_status_t private_f_print_except_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except, FILE * const output) {
+ f_status_t private_f_print_except_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except, FILE * const stream) {
f_array_length_t i = offset;
f_array_length_t j = 0;
uint8_t width = 0;
- clearerr_unlocked(output);
+ clearerr_unlocked(stream);
while (i < stop) {
count = 0;
do {
- count += fwrite_unlocked(string + start + count, 1, total - count, output);
+ count += fwrite_unlocked(string + start + count, 1, total - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
count = 0;
do {
- count += fwrite_unlocked(string + start + count, 1, total - count, output);
+ count += fwrite_unlocked(string + start + count, 1, total - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
count = 0;
do {
- count += fwrite_unlocked(string + start + count, 1, total - count, output);
+ count += fwrite_unlocked(string + start + count, 1, total - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
count = 0;
do {
- count += fwrite_unlocked(safe.string + count, 1, safe.used - count, output);
+ count += fwrite_unlocked(safe.string + count, 1, safe.used - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
count = 0;
do {
- count += fwrite_unlocked(string + start + count, 1, total - count, output);
+ count += fwrite_unlocked(string + start + count, 1, total - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
count = 0;
do {
- count += fwrite_unlocked(string + start + count, 1, total - count, output);
+ count += fwrite_unlocked(string + start + count, 1, total - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
#endif // !defined(_di_f_print_except_safely_) || !defined(_di_f_print_except_dynamic_safely_) || !defined(_di_f_print_except_dynamic_partial_safely_)
#if !defined(_di_f_print_raw_) || !defined(_di_f_print_raw_dynamic_) || !defined(_di_f_print_raw_dynamic_partial_)
- f_status_t private_f_print_raw(const f_string_t string, const f_array_length_t length, FILE * const output) {
+ f_status_t private_f_print_raw(const f_string_t string, const f_array_length_t length, FILE * const stream) {
f_array_length_t count = 0;
- clearerr_unlocked(output);
+ clearerr_unlocked(stream);
if (length < F_print_write_max_d) {
count = 0;
do {
- count += fwrite_unlocked(string + count, 1, length - count, output);
+ count += fwrite_unlocked(string + count, 1, length - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
count = 0;
do {
- count += fwrite_unlocked(string + count, 1, F_print_write_max_d - count, output);
+ count += fwrite_unlocked(string + count, 1, F_print_write_max_d - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
count = 0;
do {
- count += fwrite_unlocked(string + count, 1, length - total - count, output);
+ count += fwrite_unlocked(string + count, 1, length - total - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
#endif // !defined(_di_f_print_raw_) || !defined(_di_f_print_raw_dynamic_) || !defined(_di_f_print_raw_dynamic_partial_)
#if !defined(_di_f_print_raw_safely_) || !defined(_di_f_print_raw_safely_dynamic_) || !defined(_di_f_print_raw_safely_dynamic_partial_)
- f_status_t private_f_print_raw_safely(const f_string_t string, const f_array_length_t length, FILE * const output) {
+ f_status_t private_f_print_raw_safely(const f_string_t string, const f_array_length_t length, FILE * const stream) {
register f_array_length_t i = 0;
f_array_length_t start = 0;
uint8_t width = 0;
- clearerr_unlocked(output);
+ clearerr_unlocked(stream);
while (i < length) {
count = 0;
do {
- count += fwrite_unlocked(string + start + count, 1, total - count, output);
+ count += fwrite_unlocked(string + start + count, 1, total - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
count = 0;
do {
- count += fwrite_unlocked(safe.string + count, 1, safe.used - count, output);
+ count += fwrite_unlocked(safe.string + count, 1, safe.used - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
count = 0;
do {
- count += fwrite_unlocked(string + start + count, 1, total - count, output);
+ count += fwrite_unlocked(string + start + count, 1, total - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
count = 0;
do {
- count += fwrite_unlocked(string + start + count, 1, total - count, output);
+ count += fwrite_unlocked(string + start + count, 1, total - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
#endif // !defined(_di_f_print_raw_safely_) || !defined(_di_f_print_raw_safely_dynamic_) || !defined(_di_f_print_raw_safely_dynamic_partial_)
#if !defined(_di_f_print_safely_) || !defined(_di_f_print_safely_dynamic_) || !defined(_di_f_print_safely_dynamic_partial_)
- f_status_t private_f_print_safely(const f_string_t string, const f_array_length_t length, FILE * const output) {
+ f_status_t private_f_print_safely(const f_string_t string, const f_array_length_t length, FILE * const stream) {
register f_array_length_t i = 0;
f_array_length_t start = 0;
uint8_t width = 0;
- clearerr_unlocked(output);
+ clearerr_unlocked(stream);
while (i < length) {
count = 0;
do {
- count += fwrite_unlocked(string + start + count, 1, total - count, output);
+ count += fwrite_unlocked(string + start + count, 1, total - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
count = 0;
do {
- count += fwrite_unlocked(string + start + count, 1, total - count, output);
+ count += fwrite_unlocked(string + start + count, 1, total - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
count = 0;
do {
- count += fwrite_unlocked(safe.string + count, 1, safe.used - count, output);
+ count += fwrite_unlocked(safe.string + count, 1, safe.used - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
count = 0;
do {
- count += fwrite_unlocked(string + start + count, 1, total - count, output);
+ count += fwrite_unlocked(string + start + count, 1, total - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
count = 0;
do {
- count += fwrite_unlocked(string + start + count, 1, total - count, output);
+ count += fwrite_unlocked(string + start + count, 1, total - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
#endif // !defined(_di_f_print_character_safely_get_) || !defined(_di_f_print_dynamic_partial_safely_) || !defined(_di_f_print_dynamic_safely_) || !defined(_di_f_print_except_dynamic_partial_safely_) || !defined(_di_f_print_except_dynamic_safely_) || !defined(_di_f_print_except_in_dynamic_safely_) || !defined(_di_f_print_except_in_dynamic_partial_safely_) || !defined(_di_f_print_except_in_safely_) || !defined(_di_f_print_except_safely_) || !defined(_di_f_print_safely_) || !defined(_di_f_print_safely_terminated_) || !defined(_di_f_print_to_dynamic_partial_safely_) || !defined(_di_f_print_to_dynamic_safely_) || !defined(_di_f_print_to_except_dynamic_partial_safely_) || !defined(_di_f_print_to_except_dynamic_safely_) || !defined(_di_f_print_to_except_in_dynamic_safely_) || !defined(_di_f_print_to_except_in_dynamic_partial_safely_) || !defined(_di_f_print_to_except_in_safely_) || !defined(_di_f_print_to_except_safely_) || !defined(_di_f_print_to_safely_)
#if !defined(_di_f_print_terminated_) || !defined(_di_f_print_raw_terminated_)
- f_status_t private_f_print_terminated(const f_string_t string, FILE * const output) {
+ f_status_t private_f_print_terminated(const f_string_t string, FILE * const stream) {
const size_t length = strlen(string);
f_array_length_t count = 0;
- clearerr_unlocked(output);
+ clearerr_unlocked(stream);
do {
- count += fwrite_unlocked(string + count, 1, length - count, output);
+ count += fwrite_unlocked(string + count, 1, length - count, stream);
- if (ferror_unlocked(output)) {
+ if (ferror_unlocked(stream)) {
return F_status_set_error(F_output);
}
* The string to output.
* @param length
* The total number of characters to print.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see f_print_dynamic_partial()
*/
#if !defined(_di_f_print_) || !defined(_di_f_print_dynamic_) || !defined(_di_f_print_dynamic_partial_)
- extern f_status_t private_f_print(const f_string_t string, const f_array_length_t length, FILE * const output) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_print(const f_string_t string, const f_array_length_t length, FILE * const stream) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_print_) || !defined(_di_f_print_dynamic_) || !defined(_di_f_print_dynamic_partial_)
/**
*
* @param character
* The character to verify as safe or not.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see f_print_except_in_dynamic_partial_safely()
*/
#if !defined(_di_f_print_character_safely_) || !defined(_di_f_print_safely_) || !defined(_di_f_print_safely_dynamic_) || !defined(_di_f_print_safely_dynamic_partial_) || !defined(_di_f_print_safely_terminated_) || !defined(_di_f_print_except_safely_) || !defined(_di_f_print_except_dynamic_safely_) || !defined(_di_f_print_except_dynamic_partial_safely_) || !defined(_di_f_print_except_in_safely_) || !defined(_di_f_print_except_in_dynamic_safely_) || !defined(_di_f_print_except_in_dynamic_partial_safely_)
- extern f_status_t private_f_print_character_safely(const f_char_t character, FILE * const output) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_print_character_safely(const f_char_t character, FILE * const stream) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_print_character_safely_) || !defined(_di_f_print_safely_) || !defined(_di_f_print_safely_dynamic_) || !defined(_di_f_print_safely_dynamic_partial_) || !defined(_di_f_print_safely_terminated_) || !defined(_di_f_print_except_safely_) || !defined(_di_f_print_except_dynamic_safely_) || !defined(_di_f_print_except_dynamic_partial_safely_) || !defined(_di_f_print_except_in_safely_) || !defined(_di_f_print_except_in_dynamic_safely_) || !defined(_di_f_print_except_in_dynamic_partial_safely_)
/**
* @param except
* An array of locations within the given string to not print.
* The array of locations is required/assumed to be in linear order.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see f_print_except_dynamic_partial()
*/
#if !defined(_di_f_print_except_) || !defined(_di_f_print_except_dynamic_) || !defined(_di_f_print_except_dynamic_partial_)
- extern f_status_t private_f_print_except(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except, FILE * const output) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_print_except(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except, FILE * const stream) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_print_except_) || !defined(_di_f_print_except_dynamic_) || !defined(_di_f_print_except_dynamic_partial_)
/**
* @param except_in
* An array of ranges within the string to not print.
* The array of ranges is required/assumed to be in linear order.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see f_print_except_in_dynamic_partial()
*/
#if !defined(_di_f_print_except_in_) || !defined(_di_f_print_except_dynamic_in_) || !defined(_di_f_print_except_in_dynamic_partial_)
- extern f_status_t private_f_print_except_in(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except_at, f_string_ranges_t except_in, FILE * const output) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_print_except_in(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except_at, f_string_ranges_t except_in, FILE * const stream) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_print_except_in_) || !defined(_di_f_print_except_dynamic_in_) || !defined(_di_f_print_except_in_dynamic_partial_)
/**
* @param except_in
* An array of ranges within the string to not print.
* The array of ranges is required/assumed to be in linear order.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see f_print_except_in_dynamic_partial_raw()
*/
#if !defined(_di_f_print_except_in_raw_) || !defined(_di_f_print_except_dynamic_in_raw_) || !defined(_di_f_print_except_in_dynamic_partial_raw_)
- extern f_status_t private_f_print_except_in_raw(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except_at, f_string_ranges_t except_in, FILE * const output) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_print_except_in_raw(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except_at, f_string_ranges_t except_in, FILE * const stream) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_print_except_in_raw_) || !defined(_di_f_print_except_dynamic_in_raw_) || !defined(_di_f_print_except_in_dynamic_partial_raw_)
/**
* @param except_in
* An array of ranges within the string to not print.
* The array of ranges is required/assumed to be in linear order.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see f_utf_is_valid()
*/
#if !defined(_di_f_print_except_in_raw_safely_) || !defined(_di_f_print_except_dynamic_in_raw_safely_) || !defined(_di_f_print_except_in_dynamic_partial_raw_safely_)
- extern f_status_t private_f_print_except_in_raw_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except_at, f_string_ranges_t except_in, FILE * const output) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_print_except_in_raw_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except_at, f_string_ranges_t except_in, FILE * const stream) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_print_except_in_raw_safely_) || !defined(_di_f_print_except_dynamic_in_raw_safely_) || !defined(_di_f_print_except_in_dynamic_partial_raw_safely_)
/**
* @param except_in
* An array of ranges within the string to not print.
* The array of ranges is required/assumed to be in linear order.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see f_utf_is_valid()
*/
#if !defined(_di_f_print_except_in_safely_) || !defined(_di_f_print_except_dynamic_in_safely_) || !defined(_di_f_print_except_in_dynamic_partial_safely_)
- extern f_status_t private_f_print_except_in_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except_at, f_string_ranges_t except_in, FILE * const output) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_print_except_in_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except_at, f_string_ranges_t except_in, FILE * const stream) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_print_except_in_safely_) || !defined(_di_f_print_except_dynamic_in_safely_) || !defined(_di_f_print_except_in_dynamic_partial_safely_)
/**
* @param except
* An array of locations within the given string to not print.
* The array of locations is required/assumed to be in linear order.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see f_print_except_dynamic_partial_raw()
*/
#if !defined(_di_f_print_except_raw_) || !defined(_di_f_print_except_dynamic_raw_) || !defined(_di_f_print_except_dynamic_partial_raw_)
- extern f_status_t private_f_print_except_raw(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except, FILE * const output) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_print_except_raw(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except, FILE * const stream) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_print_except_raw_) || !defined(_di_f_print_except_dynamic_raw_) || !defined(_di_f_print_except_dynamic_partial_raw_)
/**
* @param except
* An array of locations within the given string to not print.
* The array of locations is required/assumed to be in linear order.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see f_print_except_dynamic_partial_raw_safely()
*/
#if !defined(_di_f_print_except_raw_safely_) || !defined(_di_f_print_except_dynamic_raw_safely_) || !defined(_di_f_print_except_dynamic_partial_raw_safely_)
- extern f_status_t private_f_print_except_raw_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except, FILE * const output) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_print_except_raw_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except, FILE * const stream) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_print_except_raw_safely_) || !defined(_di_f_print_except_dynamic_raw_safely_) || !defined(_di_f_print_except_dynamic_partial_raw_safely_)
/**
* @param except
* An array of locations within the given string to not print.
* The array of locations is required/assumed to be in linear order.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see f_utf_is_valid()
*/
#if !defined(_di_f_print_except_safely_) || !defined(_di_f_print_except_dynamic_safely_) || !defined(_di_f_print_except_dynamic_partial_safely_)
- extern f_status_t private_f_print_except_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except, FILE * const output) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_print_except_safely(const f_string_t string, const f_array_length_t offset, const f_array_length_t stop, const f_array_lengths_t except, FILE * const stream) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_print_except_safely_) || !defined(_di_f_print_except_dynamic_safely_) || !defined(_di_f_print_except_dynamic_partial_safely_)
/**
* The string to output.
* @param length
* The total number of characters to print.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see f_print_raw_dynamic_partial()
*/
#if !defined(_di_f_print_raw_) || !defined(_di_f_print_raw_dynamic_) || !defined(_di_f_print_raw_dynamic_partial_)
- extern f_status_t private_f_print_raw(const f_string_t string, const f_array_length_t length, FILE * const output) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_print_raw(const f_string_t string, const f_array_length_t length, FILE * const stream) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_print_raw_) || !defined(_di_f_print_raw_dynamic_) || !defined(_di_f_print_raw_dynamic_partial_)
/**
* The string to output.
* @param length
* The total number of characters to print.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see f_utf_is_valid()
*/
#if !defined(_di_f_print_raw_safely_) || !defined(_di_f_print_raw_safely_dynamic_) || !defined(_di_f_print_raw_safely_dynamic_partial_)
- extern f_status_t private_f_print_raw_safely(const f_string_t string, const f_array_length_t length, FILE * const output) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_print_raw_safely(const f_string_t string, const f_array_length_t length, FILE * const stream) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_print_raw_safely_) || !defined(_di_f_print_raw_safely_dynamic_) || !defined(_di_f_print_raw_safely_dynamic_partial_)
/**
* The string to output.
* @param length
* The total number of characters to print.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see f_utf_is_valid()
*/
#if !defined(_di_f_print_safely_) || !defined(_di_f_print_safely_dynamic_) || !defined(_di_f_print_safely_dynamic_partial_)
- extern f_status_t private_f_print_safely(const f_string_t string, const f_array_length_t length, FILE * const output) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_print_safely(const f_string_t string, const f_array_length_t length, FILE * const stream) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_print_safely_) || !defined(_di_f_print_safely_dynamic_) || !defined(_di_f_print_safely_dynamic_partial_)
/**
*
* @param string
* The string to output.
- * @param output
+ * @param stream
* The file stream to output to, including standard streams such as stdout and stderr.
*
* @return
* @see f_print_raw_terminated()
*/
#if !defined(_di_f_print_terminated_) || !defined(_di_f_print_raw_terminated_)
- extern f_status_t private_f_print_terminated(const f_string_t string, FILE * const output) F_attribute_visibility_internal_d;
+ extern f_status_t private_f_print_terminated(const f_string_t string, FILE * const stream) F_attribute_visibility_internal_d;
#endif // !defined(_di_f_print_terminated_) || !defined(_di_f_print_raw_terminated_)
#ifdef __cplusplus