Annotated edit history of
strncasecmp(3) version 1 showing authors affecting page license.
View with all changes included.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
STRCASECMP |
|
|
2 |
!!!STRCASECMP |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
RETURN VALUE |
|
|
7 |
CONFORMING TO |
|
|
8 |
SEE ALSO |
|
|
9 |
---- |
|
|
10 |
!!NAME |
|
|
11 |
|
|
|
12 |
|
|
|
13 |
strcasecmp, strncasecmp - compare two strings ignoring case |
|
|
14 |
!!SYNOPSIS |
|
|
15 |
|
|
|
16 |
|
|
|
17 |
__#include |
|
|
18 |
__''s1''__, const char *__''s2''__); |
|
|
19 |
int strncasecmp(const char *__''s1''__, const char *__''s2''__, size_t__ ''n''__); |
|
|
20 |
__ |
|
|
21 |
!!DESCRIPTION |
|
|
22 |
|
|
|
23 |
|
|
|
24 |
The __strcasecmp()__ function compares the two strings |
|
|
25 |
''s1'' and ''s2'', ignoring the case of the |
|
|
26 |
characters. It returns an integer less than, equal to, or |
|
|
27 |
greater than zero if ''s1'' is found, respectively, to be |
|
|
28 |
less than, to match, or be greater than |
|
|
29 |
''s2''. |
|
|
30 |
|
|
|
31 |
|
|
|
32 |
The __strncasecmp()__ function is similar, except it only |
|
|
33 |
compares the first ''n'' characters of |
|
|
34 |
''s1''. |
|
|
35 |
!!RETURN VALUE |
|
|
36 |
|
|
|
37 |
|
|
|
38 |
The __strcasecmp()__ and __strncasecmp()__ functions |
|
|
39 |
return an integer less than, equal to, or greater than zero |
|
|
40 |
if ''s1'' (or the first ''n'' bytes thereof) is found, |
|
|
41 |
respectively, to be less than, to match, or be greater than |
|
|
42 |
''s2''. |
|
|
43 |
!!CONFORMING TO |
|
|
44 |
|
|
|
45 |
|
|
|
46 |
BSD 4.4 |
|
|
47 |
!!SEE ALSO |
|
|
48 |
|
|
|
49 |
|
|
|
50 |
bcmp(3), memcmp(3), strcmp(3), |
|
|
51 |
strcoll(3), strncmp(3) |
|
|
52 |
---- |
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.