new_logger — returns a Logger for logging.
#include "libc/include/utils/logger.h"
Logger *new_logger(void (*log)(const char *), void (*err)(const char *));The new_logger() function takes a log() function and an err() function and returns a Logger struct.
The new_logger() function returns a pointer to a logger or NULL.
uint64_t first = fnv("Hello"); // 7201466553693376363UL;
uint64_t second = fnv("hello"); // 11831194018420276491UL;See GitHub Issues: https://github.com/takashiidobe/libc/issues
Takashi Idobe mail@takashiidobe.com