26 lines
1.1 KiB
C
26 lines
1.1 KiB
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* utils.h :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: achubuko <marvin@42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2023/12/02 21:57:06 by achubuko #+# #+# */
|
|
/* Updated: 2023/12/03 21:46:56 by achubuko ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
#ifndef FT_UTILS_H
|
|
# define FT_UTILS_H
|
|
# include <stddef.h>
|
|
# include <stdint.h>
|
|
|
|
typedef struct s_dec
|
|
{
|
|
int significant;
|
|
int base;
|
|
} t_dec;
|
|
t_dec ft_atoui32(char *str);
|
|
size_t ft_strlen(char *s);
|
|
int ft_str_is_numeric(char *str);
|
|
#endif
|