|
libft
|
Classification and validation functions for characters and strings. More...
#include <stdbool.h>#include <limits.h>
Include dependency graph for ft_check.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| bool | ft_is_valid_integer (const char *str) |
| Validates C-style signed integer string format. | |
| int | ft_isalnum (int c) |
| Alphanumeric character. | |
| int | ft_isalpha (int c) |
| Alphabetic character. | |
| int | ft_isascii (int c) |
| ASCII character (0–127) | |
| int | ft_isdigit (int c) |
| Decimal digit (0–9) | |
| int | ft_islower (int c) |
| Lowercase letter. | |
| int | ft_isprint (int c) |
| Printable character (including space) | |
| int | ft_ispunct (int c) |
| Printable non-alphanumeric (e.g., punctuation) | |
| int | ft_issign (int c) |
| '+' or '-' | |
| int | ft_isspace (int c) |
| Whitespace (space, tab, newline, etc.) | |
| bool | ft_isstrpositive (const char *str) |
| Checks if string contains only digits and is > 0. | |
| int | ft_isupper (int c) |
| Uppercase letter. | |
Classification and validation functions for characters and strings.
This module provides custom implementations of standard character classification functions (isalpha, isdigit, etc.) as well as additional validation helpers for strings (ft_isstrpositive, ft_is_valid_integer).
These functions are useful in parsing, input validation, formatting, and expression evaluation.