libft
Loading...
Searching...
No Matches
Macros | Functions
ft_convert.h File Reference

Numeric conversion utility functions. More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ATOI_ERROR   (-2147483648LL)
 

Functions

long long ft_atoi (const char *str)
 Converts a string to a signed integer.
 
long long ft_atoll (const char *str)
 Converts a string to a long long value.
 
char * ft_itoa (int n)
 Converts an integer to a string.
 
char * ft_itoa_base (unsigned long long n, int base, int uppercase)
 Converts an unsigned integer to a string in a given base.
 
char * ft_utoa (unsigned long long n)
 Converts an unsigned long long to a decimal string.
 

Detailed Description

Numeric conversion utility functions.

Author
Toonsa
Date
2025-04-05

This header declares functions used for converting between numeric values and their string representations, handling bases, signs, and overflow.

Macro Definition Documentation

◆ ATOI_ERROR

#define ATOI_ERROR   (-2147483648LL)

Error return for atoi overflow