honor restored

This commit is contained in:
2023-12-19 15:31:49 +02:00
parent 07afea3a7b
commit 5b1fface91
29 changed files with 76 additions and 779 deletions

19
tests/strlen.c Normal file
View File

@@ -0,0 +1,19 @@
#include "../main.h"
/**
* main - test strlen
* Return: 0 if yes, 1 if no
*/
int main(void)
{
char *str;
int len;
str = "hello";
len =_strlen(str);
if (len == 5)
return (0);
else
return (1);
}