Libft
Custom implementation of core libc functions with additional utility helpers.
Loading...
Searching...
No Matches
buff_life_cycle.c File Reference
#include "libft.h"
#include <stdlib.h>
Include dependency graph for buff_life_cycle.c:

Functions

bool buff_init (t_buff *buff, size_t initial_cap, const char *str, long n)
 Initializes a buffer with the specified initial capacity.
 
void buff_free (t_buff *buff)
 Frees the buffer's internal data.
 
void buff_free_void (void *buff)
 Frees a t_buff item through a generic void* callback signature.