-
Notifications
You must be signed in to change notification settings - Fork 1
/
ft_putpointer.c
19 lines (17 loc) · 1 KB
/
ft_putpointer.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_putpointer.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rel-fila <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/11/08 16:56:59 by rel-fila #+# #+# */
/* Updated: 2022/11/08 16:57:09 by rel-fila ### ########.fr */
/* */
/* ************************************************************************** */
#include "ft_printf.h"
void ft_putpointer(void *p, int *count)
{
ft_putstr("0x", count);
ft_puthex((unsigned long long)p, count);
}