Annotated edit history of
bcmp(3) version 1, including all changes.
View license author blame.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
BCMP |
|
|
2 |
!!!BCMP |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
RETURN VALUE |
|
|
7 |
CONFORMING TO |
|
|
8 |
SEE ALSO |
|
|
9 |
---- |
|
|
10 |
!!NAME |
|
|
11 |
|
|
|
12 |
|
|
|
13 |
bcmp - compare byte strings |
|
|
14 |
!!SYNOPSIS |
|
|
15 |
|
|
|
16 |
|
|
|
17 |
__#include |
|
|
18 |
__''s1''__, const void *__''s2''__, size_t__ ''n''__); |
|
|
19 |
__ |
|
|
20 |
!!DESCRIPTION |
|
|
21 |
|
|
|
22 |
|
|
|
23 |
The __bcmp()__ function compares the first ''n'' bytes |
|
|
24 |
of the strings ''s1'' and ''s2''. If the two strings |
|
|
25 |
are equal, __bcmp()__ returns 0, otherwise it returns a |
|
|
26 |
non-zero result. If ''n'' is zero, the two strings are |
|
|
27 |
assumed to be equal. |
|
|
28 |
!!RETURN VALUE |
|
|
29 |
|
|
|
30 |
|
|
|
31 |
The __bcmp()__ function returns 0 if the strings are |
|
|
32 |
equal, otherwise a non-zero result is returned. |
|
|
33 |
!!CONFORMING TO |
|
|
34 |
|
|
|
35 |
|
|
|
36 |
4.3BSD. This function is deprecated -- use __memcmp__ in |
|
|
37 |
new programs. |
|
|
38 |
!!SEE ALSO |
|
|
39 |
|
|
|
40 |
|
|
|
41 |
memcmp(3), strcasecmp(3), strcmp(3), |
|
|
42 |
strcoll(3), strncmp(3), |
|
|
43 |
strncasecmp(3) |
|
|
44 |
---- |
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.