mirror of
https://github.com/guezoloic/libft.git
synced 2026-01-25 03:34:16 +00:00
fix: update function name
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#include "libft.h"
|
#include "libft.h"
|
||||||
|
|
||||||
size_t strlen(const char *s)
|
size_t ft_strlen(const char *s)
|
||||||
{
|
{
|
||||||
size_t i;
|
size_t i;
|
||||||
|
|
||||||
|
|||||||
44
libft.h
44
libft.h
@@ -4,47 +4,47 @@
|
|||||||
# include <stdlib.h>
|
# include <stdlib.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
The ft_isalpha() function tests for
|
The ft_isalpha() function tests for
|
||||||
any character for which isupper(3) or
|
any character for which isupper(3) or
|
||||||
islower(3) is true.
|
islower(3) is true.
|
||||||
*/
|
*/
|
||||||
int ft_isalpha(int c);
|
int ft_isalpha(int c);
|
||||||
/*
|
/*
|
||||||
The ft_isdigit() function tests
|
The ft_isdigit() function tests
|
||||||
for a decimal digit character.
|
for a decimal digit character.
|
||||||
Regardless of locale, this
|
Regardless of locale, this
|
||||||
includes the following characters
|
includes the following characters
|
||||||
only: '0' '1' '2' '3' '4' '5' '6'
|
only: '0' '1' '2' '3' '4' '5' '6'
|
||||||
'7' '8' '9'
|
'7' '8' '9'
|
||||||
*/
|
*/
|
||||||
int ft_isdigit(int c);
|
int ft_isdigit(int c);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
The ft_isalnum() function tests
|
The ft_isalnum() function tests
|
||||||
for any character for which
|
for any character for which
|
||||||
isalpha(3) or isdigit(3) is true.
|
isalpha(3) or isdigit(3) is true.
|
||||||
*/
|
*/
|
||||||
int ft_isalnum(int c);
|
int ft_isalnum(int c);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
The ft_isascii() function tests
|
The ft_isascii() function tests
|
||||||
for an ASCII character, which is
|
for an ASCII character, which is
|
||||||
any character between 0 and octal
|
any character between 0 and octal
|
||||||
0177 inclusive.
|
0177 inclusive.
|
||||||
*/
|
*/
|
||||||
int ft_isascii(int c);
|
int ft_isascii(int c);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
The ft_isprint() function tests for
|
The ft_isprint() function tests for
|
||||||
any printing character, including
|
any printing character, including
|
||||||
space (‘ ’).
|
space (‘ ’).
|
||||||
*/
|
*/
|
||||||
int ft_isprint(int c);
|
int ft_isprint(int c);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
The strlen() function computes the
|
The ft_strlen() function computes
|
||||||
length of the string s.
|
the length of the string s.
|
||||||
*/
|
*/
|
||||||
size_t strlen(const char *s);
|
size_t ft_strlen(const char *s);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user