]> git.saurik.com Git - apple/libc.git/blob - string/FreeBSD/memcmp.3.patch
9b92c7ed7f1a8e0614e8b64312087664afca8e95
[apple/libc.git] / string / FreeBSD / memcmp.3.patch
1 --- _SB/Libc/string/FreeBSD/memcmp.3 2003-05-20 15:23:54.000000000 -0700
2 +++ _SB/Libc/string/FreeBSD/memcmp.3.edit 2006-06-28 16:55:53.000000000 -0700
3 @@ -47,17 +47,21 @@
4 .Sh SYNOPSIS
5 .In string.h
6 .Ft int
7 -.Fn memcmp "const void *b1" "const void *b2" "size_t len"
8 +.Fo memcmp
9 +.Fa "const void *s1"
10 +.Fa "const void *s2"
11 +.Fa "size_t n"
12 +.Fc
13 .Sh DESCRIPTION
14 The
15 .Fn memcmp
16 function
17 compares byte string
18 -.Fa b1
19 +.Fa s1
20 against byte string
21 -.Fa b2 .
22 +.Fa s2 .
23 Both strings are assumed to be
24 -.Fa len
25 +.Fa n
26 bytes long.
27 .Sh RETURN VALUES
28 The