int create_user(const char *name, User **user_ptr_add) {
    User *new_user = malloc(sizeof(User));
    strcpy(new_user->name, name);
    User *curr = *user_ptr_add;
    while (curr->next != NULL) {
        curr = curr->next;
    }
    return -1;
}

how do i check that the given name cannot fit in the 'name' array by adding a check for the length of the name?