wmemcmp.c

The libc implementation

Author

Marcel Sondaar

License

Public Domain

Summary
wmemcmp.cThe libc implementation
Functions
wmemcmpCompares at most n bytes of s1 to s2

Functions

wmemcmp

int wmemcmp(const wchar_t *s1,
const wchar_t *s2,
size_t n)

Compares at most n bytes of s1 to s2

Returns positive if the value of s1 is larger than s2

Returns negative if the value of s1 is smaller than s2

Returns zero if s1 equals s2

int wmemcmp(const wchar_t *s1,
const wchar_t *s2,
size_t n)
Compares at most n bytes of s1 to s2