![]() |
tgrekov-pipex
HIVE pipex May 2024
|
Definition in file ft_memcmp.c.
#include "libft.h"Go to the source code of this file.
Functions | |
| int | ft_memcmp (const void *s1, const void *s2, size_t n) |
Compares n bytes of byte string s1 against byte string s2. | |
| int ft_memcmp | ( | const void * | s1, |
| const void * | s2, | ||
| size_t | n | ||
| ) |
Compares n bytes of byte string s1 against byte string s2.
Comparisons are done with unsigned char.
| [in] | s1 | First byte string to compare |
| [in] | s2 | Second byte string to compare |
| [in] | n | Number of bytes to compare |
| int | Result of subtracting the differing byte of s2 from that of s1. If no difference was found in n bytes, returns 0. |
Definition at line 34 of file ft_memcmp.c.