-
Notifications
You must be signed in to change notification settings - Fork 0
/
convert_tochar.c
21 lines (18 loc) · 1014 Bytes
/
convert_tochar.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* convert_tochar.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: agras <agras@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/12/09 19:18:29 by agras #+# #+# */
/* Updated: 2021/12/23 20:10:57 by agras ### ########.fr */
/* */
/* ************************************************************************** */
#include "ft_printf.h"
int convert_tochar(va_list *args)
{
char c;
c = va_arg(*args, int);
return (print_byte(c));
}