Some functions aren't defined in Linux
Easy to implement by myself
size_t strlcpy(char* dst, const char* src, size_t size) { dst[size - 1] = '\0'; strncpy(dst, src, size - 1); return strlen(dst); }