Module utils

Module utils 

Source

Functionsยง

do_expand_tabs
Replace tabs by spaces in the input line. Correctly handle multi-bytes characters. This assumes that line does not contain any line breaks (if it does, the result is undefined).
do_write_line
Write a single line to an output stream, expanding tabs to space if necessary. This assumes that line does not contain any line breaks (if it does and tabs are to be expanded to spaces, the result is undefined).
format_failure_to_read_input_file
get_modification_time
Retrieves the modification time of the input file specified by file path If an error occurs, it returns the current system time
report_failure_to_read_input_file