tgrekov-ft_printf
HIVE printf Feb 2024
Loading...
Searching...
No Matches
ft_lstsize_bonus.c File Reference

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_lstsize_bonus.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: tgrekov <tgrekov@student.hive.fi> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/10/28 01:19:42 by tgrekov #+# #+# */
/* Updated: 2023/11/06 11:44:57 by tgrekov ### ########.fr */
/* */
/* ************************************************************************** */

Definition in file ft_lstsize_bonus.c.

#include "libft.h"
Include dependency graph for ft_lstsize_bonus.c:

Go to the source code of this file.

Functions

int ft_lstsize (t_list *lst)
 Counts the number of nodes in a list.
 

Function Documentation

◆ ft_lstsize()

int ft_lstsize ( t_list lst)

Counts the number of nodes in a list.

Parameters
[in]lstPointer to first node in the list
Return values
intLength of the list

Definition at line 28 of file ft_lstsize_bonus.c.

References s_list::next.