Penguin
Annotated edit history of wmemcmp(3) version 1, including all changes. View license author blame.
Rev Author # Line
1 perry 1 WMEMCMP
2 !!!WMEMCMP
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 RETURN VALUE
7 CONFORMING TO
8 SEE ALSO
9 ----
10 !!NAME
11
12
13 wmemcmp - compare two arrays of wide-characters
14 !!SYNOPSIS
15
16
17 __#include
18 __''s1''__, const wchar_t *__''s2''__, size_t__ ''n''__);
19 __
20 !!DESCRIPTION
21
22
23 The __wmemcmp__ function is the wide-character equivalent
24 of the __memcmp__ function. It compares the ''n''
25 wide-characters starting at ''s1'' and the ''n''
26 wide-characters starting at ''s2''.
27 !!RETURN VALUE
28
29
30 The __wmemcmp__ function returns zero if the
31 wide-character arrays of size ''n'' at ''s1'' and
32 ''s2'' are equal. It returns an integer greater than zero
33 if at the first differing position ''i'' (''i''
34 ''n''), the corresponding wide-character ''s1[[i]'' is
35 greater than ''s2[[i]''. It returns an integer less than
36 zero if at the first differing position ''i'' (''i''
37 ''n''), the corresponding wide-character
38 ''s1[[i]'' is less than ''s2[[i]''.
39 !!CONFORMING TO
40
41
42 ISO/ANSI C, UNIX98
43 !!SEE ALSO
44
45
46 memcmp(3), wcscmp(3)
47 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.