/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* util.h :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: mcolonna +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/10/03 14:19:03 by mc #+# #+# */ /* Updated: 2024/10/04 15:27:07 by mcolonna ### ########.fr */ /* */ /* ************************************************************************** */ #ifndef UTIL_H # define UTIL_H /// @brief Get the length of a string. int getlen(const char *str); /// @brief Write an error message on stderr. /// /// @param str... All the strings to write. The last parameter MUST BE NULL. void write_err(const char *str, ...); #endif