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

Go to the source code of this file.

Functions

int ft_strequ (const char *s1, const char *s2)
 Checks that two strings are identical. More...
 

Function Documentation

◆ ft_strequ()

int ft_strequ ( const char *  s1,
const char *  s2 
)

Checks that two strings are identical.

Performs lexicographical comparison between s1 and s2.

Parameters
s1The first string to be compared.
s2The second string to be compared.
Returns
1if the strings are identical or 0 otherwise.

Definition at line 24 of file ft_strequ.c.