|
Libft
Custom implementation of core libc functions with additional utility helpers.
|

Functions | |
| bool | append_char (t_buff *buff, char c) |
| Appends a character to the buffer. | |
| bool | append_int (t_buff *buff, int nb) |
| Appends an integer to the buffer as a string. | |
| bool | append_uint (t_buff *buff, unsigned int nb) |
| Appends an unsigned integer to the buffer as a string. | |
| bool | append_hex (t_buff *buff, unsigned long nb, bool uppercase) |
| Appends a number in hexadecimal format to the buffer. | |
| bool | append_ptr (t_buff *buff, unsigned long nb) |
| Appends a pointer address to the buffer. | |
| bool append_char | ( | t_buff * | buff, |
| char | c | ||
| ) |
Appends a character to the buffer.
| buff | Pointer to the buffer. |
| c | Character to append. |


| bool append_hex | ( | t_buff * | buff, |
| unsigned long | nb, | ||
| bool | uppercase | ||
| ) |
Appends a number in hexadecimal format to the buffer.
| buff | Pointer to the buffer. |
| nb | Number to convert. |
| uppercase | Use uppercase letters if true. |


| bool append_int | ( | t_buff * | buff, |
| int | nb | ||
| ) |
Appends an integer to the buffer as a string.
| buff | Pointer to the buffer. |
| nb | Integer to append. |


| bool append_ptr | ( | t_buff * | buff, |
| unsigned long | nb | ||
| ) |
Appends a pointer address to the buffer.
| buff | Pointer to the buffer. |
| nb | Pointer value as unsigned long. |


| bool append_uint | ( | t_buff * | buff, |
| unsigned int | nb | ||
| ) |
Appends an unsigned integer to the buffer as a string.
| buff | Pointer to the buffer. |
| nb | Unsigned integer to append. |

