-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_get_len_bonus.c
More file actions
24 lines (21 loc) · 1.08 KB
/
Copy pathft_get_len_bonus.c
File metadata and controls
24 lines (21 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_get_len_bonus.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: obouizi <obouizi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/12/03 13:10:46 by obouizi #+# #+# */
/* Updated: 2024/12/05 20:47:25 by obouizi ### ########.fr */
/* */
/* ************************************************************************** */
#include "libftprintf_bonus.h"
int get_len(char specifier, va_list args)
{
va_list args_copy;
int len;
va_copy(args_copy, args);
len = get_arg_len(specifier, args_copy);
va_end(args_copy);
return (len);
}