29 lines
1.1 KiB
C
29 lines
1.1 KiB
C
|
/* ************************************************************************** */
|
||
|
/* */
|
||
|
/* .--. _ */
|
||
|
/* test8.c |o_o || | */
|
||
|
/* |:_/ || |_ _ ___ __ */
|
||
|
/* By: houtworm <codam@houtworm.net> // \ \ __| | | \ \/ / */
|
||
|
/* (| | )|_| |_| |> < */
|
||
|
/* Created: 2023/02/21 02:47:24 by houtworm /'\_ _/`\__|\__,_/_/\_\ */
|
||
|
/* Updated: 2023/03/03 10:48:50 by houtworm \___)=(___/ */
|
||
|
/* */
|
||
|
/* ************************************************************************** */
|
||
|
|
||
|
#include "../../tmp/libft.h"
|
||
|
#include <stdio.h>
|
||
|
#include <string.h>
|
||
|
|
||
|
int main(void)
|
||
|
{
|
||
|
int rtrn;
|
||
|
char *b;
|
||
|
|
||
|
b = ft_calloc(1, 3);
|
||
|
rtrn = 0;
|
||
|
if (memcmp(b, "\0\0\0", 3))
|
||
|
rtrn = 1;
|
||
|
free(b);
|
||
|
return (rtrn);
|
||
|
}
|