ft_lstsize

Subject

FT_LSTSIZE (simplified)

NAME
    ft_lstsize -- returns the number of element in the list
SYNOPSIS
    int *ft_lstsize(t_list *lst);
DESCRIPTION
    Count the number of elements of the list
PARAMETERS
    lst: start of the list
RETURN VALUES
    The size of the list
AUTHORIZED EXTERNAL FUNCTIONS
    None

Understandable explanation

I think the subject is clear on what this function does, we have to return the number of element of the list.

Hints

Commented solution

ft_lstsize

Last updated

Was this helpful?