24 lines
1.1 KiB
C
24 lines
1.1 KiB
C
|
/* ************************************************************************** */
|
||
|
/* */
|
||
|
/* ::: :::::::: */
|
||
|
/* 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]));
|
||
|
}
|