libft
Functions
ft_strdel.c File Reference
#include "libft.h"
+ Include dependency graph for ft_strdel.c:

Go to the source code of this file.

Functions

void ft_strdel (char **as)
 Frees a string and sets its pointer to NULL More...
 

Function Documentation

◆ ft_strdel()

void ft_strdel ( char **  as)

Frees a string and sets its pointer to NULL

Takes as a parameter the address of a string that need to be freed with free, then sets its pointer to NULL.

Parameters
asThe string’s address that needs to be freed and its pointer set to NULL.

Definition at line 24 of file ft_strdel.c.