libft
|
#include "libft.h"
Go to the source code of this file.
Functions | |
int | ft_strnequ (char const *s1, char const *s2, size_t n) |
Checks that two strings are unequal. More... | |
int ft_strnequ | ( | char const * | s1, |
char const * | s2, | ||
size_t | n | ||
) |
Checks that two strings are unequal.
Lexicographical comparison between s1
and s2
up ton
characters or until a '\0'
is reached.
s1 | The first string to be compared. |
s2 | The second string to be compared. |
n | The maximum number of characters to be compared. |
1
or 0
according to if the 2 strings are identical or not. Definition at line 26 of file ft_strnequ.c.