c_piscine__offshore_mains/c02/ex12.c

24 lines
1.1 KiB
C
Raw Normal View History

2023-11-28 19:47:25 +00:00
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ex12.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: achubuko <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/11/28 20:24:04 by achubuko #+# #+# */
/* Updated: 2023/11/28 22:51:11 by achubuko ### ########.fr */
/* */
/* ************************************************************************** */
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
void *ft_print_memory(void *addr, unsigned int size);
int main(int argc, char **argv)
{
if (argc != 3)
return (1);
ft_print_memory(argv[1], atoi(argv[2]));
}