tgrekov-fdf
HIVE fdf May 2024
Loading...
Searching...
No Matches
arr_len.c
Go to the documentation of this file.
1
/* ************************************************************************** */
2
/* */
3
/* ::: :::::::: */
4
/* arr_len.c :+: :+: :+: */
5
/* +:+ +:+ +:+ */
6
/* By: tgrekov <tgrekov@student.hive.fi> +#+ +:+ +#+ */
7
/* +#+#+#+#+#+ +#+ */
8
/* Created: 2024/04/22 06:40:00 by tgrekov #+# #+# */
9
/* Updated: 2024/05/02 10:27:56 by tgrekov ### ########.fr */
10
/* */
11
/* ************************************************************************** */
12
26
int
arr_len
(
void
**arr)
27
{
28
int
i;
29
30
i = 0;
31
while
(arr[i])
32
i++;
33
return
(i);
34
}
arr_len
int arr_len(void **arr)
Count number of elements in a null-terminated array.
Definition
arr_len.c:26
src
mandatory
utils
arr_len.c