23 lines
1.0 KiB
C
23 lines
1.0 KiB
C
|
/* ************************************************************************** */
|
||
|
/* */
|
||
|
/* .--. _ */
|
||
|
/* test2.c |o_o || | */
|
||
|
/* |:_/ || |_ _ ___ __ */
|
||
|
/* By: houtworm <codam@houtworm.net> // \ \ __| | | \ \/ / */
|
||
|
/* (| | )|_| |_| |> < */
|
||
|
/* Created: 2023/02/21 02:38:36 by houtworm /'\_ _/`\__|\__,_/_/\_\ */
|
||
|
/* Updated: 2023/03/01 05:56:32 by houtworm \___)=(___/ */
|
||
|
/* */
|
||
|
/* ************************************************************************** */
|
||
|
|
||
|
#include "../../tmp/libft.h"
|
||
|
#include <stdio.h>
|
||
|
#include <string.h>
|
||
|
|
||
|
int main(void)
|
||
|
{
|
||
|
if (strncmp(ft_strchr("hallo", 'h'), "hallo\0", 4))
|
||
|
return (1);
|
||
|
return (0);
|
||
|
}
|