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

Functions

static int ft_is_in_charset (char const c, char const *set)
 Checks if a character is in a set.
 
char * str_trim_leading (char const *s1, char const *set)
 

Function Documentation

◆ ft_is_in_charset()

static int ft_is_in_charset ( char const  c,
char const *  set 
)
static

Checks if a character is in a set.

Parameters
cCharacter to check.
setCharacter set.
Returns
1 if found, 0 otherwise.
Here is the caller graph for this function:

◆ str_trim_leading()

char * str_trim_leading ( char const *  s1,
char const *  set 
)
Here is the call graph for this function: