we got this

This commit is contained in:
2023-08-22 23:30:11 +03:00
parent 5eedab59a5
commit 3363eeb621

View File

@@ -7,14 +7,13 @@
int _strlen(char *s) int _strlen(char *s)
{ {
int c; int c;
for (c = 0; s[c] != 0; c++) for (c = 0; s[c] != 0; c++)
; ;
return (c); return (c);
} }
/** /**
* _strlenc - Strlen function but applied for constant char pointer s * _strlenc - Strlen function on char pointer s
* @s: Type char pointer * @s: Type char pointer
* Return: c * Return: c
*/ */