mirror of
https://github.com/guezoloic/libft.git
synced 2026-01-25 09:34:16 +00:00
feat: add ft_strlen function
This commit is contained in:
10
libft.h
10
libft.h
@@ -1,6 +1,8 @@
|
||||
#ifndef LIBFT_A
|
||||
#define LIBFT_A
|
||||
|
||||
# include <stdlib.h>
|
||||
|
||||
/*
|
||||
The ft_isalpha() function tests for
|
||||
any character for which isupper(3) or
|
||||
@@ -39,4 +41,10 @@ int ft_isascii(int c);
|
||||
*/
|
||||
int ft_isprint(int c);
|
||||
|
||||
#endif
|
||||
/*
|
||||
The strlen() function computes the
|
||||
length of the string s.
|
||||
*/
|
||||
size_t strlen(const char *s);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user