42sh 1.0.0
Create a shell in C
Loading...
Searching...
No Matches
my_list_size.c File Reference

The file containing the my_list_size function. More...

#include "mylist.h"

Functions

int my_list_size (node_t const *begin)
 Returns the size of the linked list.
 

Detailed Description

The file containing the my_list_size function.

Author
Nicolas TORO

Function Documentation

◆ my_list_size()

int my_list_size ( node_t const * begin)

Returns the size of the linked list.

Parameters
beginThe beginning of the list
Returns
int The size of the list
Author
Nicolas TORO