|
Libft
Custom implementation of core libc functions with additional utility helpers.
|
Character classification and conversion. More...
Functions | |
| int | ft_isalnum (int c) |
| Checks if a character is alphanumeric. | |
| int | ft_isalpha (int c) |
| Checks if a character is alphabetic. | |
| int | ft_isascii (int c) |
| Checks if a character is a valid ASCII character (0-127). | |
| int | ft_isdigit (int c) |
| Checks if a character is a digit ('0'-'9'). | |
| bool | ft_isincharset (char c, const char *charset) |
| Checks if a character is present in a character set. | |
| int | ft_isprint (int c) |
| Checks if a character is printable (32-126). | |
| int | ft_isspace (char c) |
| Checks if a character is whitespace (9-13). | |
| int | ft_tolower (int c) |
| Converts an uppercase letter to lowercase. | |
| int | ft_toupper (int c) |
| Converts a lowercase letter to uppercase. | |
Character classification and conversion.
Functions to test and transform individual characters.
| int ft_isalnum | ( | int | c | ) |
Checks if a character is alphanumeric.
| c | Character to check. |
| int ft_isalpha | ( | int | c | ) |
Checks if a character is alphabetic.
| c | Character to check. |
| int ft_isascii | ( | int | c | ) |
Checks if a character is a valid ASCII character (0-127).
| c | Character to check. |
| int ft_isdigit | ( | int | c | ) |
Checks if a character is a digit ('0'-'9').
| c | Character to check. |

| bool ft_isincharset | ( | char | c, |
| const char * | charset ) |
Checks if a character is present in a character set.
| c | Character to check. |
| charset | Null-terminated string of characters to match against. |

| int ft_isprint | ( | int | c | ) |
Checks if a character is printable (32-126).
| c | Character to check. |
| int ft_isspace | ( | char | c | ) |
Checks if a character is whitespace (9-13).
| c | Character to check. |

| int ft_tolower | ( | int | c | ) |
Converts an uppercase letter to lowercase.
| c | Character to convert. |
| int ft_toupper | ( | int | c | ) |
Converts a lowercase letter to uppercase.
| c | Character to convert. |