libft
|
Go to the source code of this file.
Functions | |
int | ft_strintab (const char *str, char *const tab[]) |
Checks if a string is in a tab. More... | |
int ft_strintab | ( | const char * | str, |
char *const | tab[] | ||
) |
Checks if a string is in a tab.
Performs lexicographical comparison between a given string and strings contained in a NULL
-terminated tab.
str | The string to search for. |
tab | The NULL -terminated tab to search in. |
1
if the tab contains the string or 0
otherwise. Definition at line 26 of file ft_strintab.c.