diff options
Diffstat (limited to 'src/lib/libc/string/memcmp.3')
| -rw-r--r-- | src/lib/libc/string/memcmp.3 | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/src/lib/libc/string/memcmp.3 b/src/lib/libc/string/memcmp.3 index 8c35f388f2..951a04ed8a 100644 --- a/src/lib/libc/string/memcmp.3 +++ b/src/lib/libc/string/memcmp.3 | |||
| @@ -1,3 +1,5 @@ | |||
| 1 | .\" $OpenBSD: memcmp.3,v 1.7 2011/07/25 00:38:52 schwarze Exp $ | ||
| 2 | .\" | ||
| 1 | .\" Copyright (c) 1990, 1991 The Regents of the University of California. | 3 | .\" Copyright (c) 1990, 1991 The Regents of the University of California. |
| 2 | .\" All rights reserved. | 4 | .\" All rights reserved. |
| 3 | .\" | 5 | .\" |
| @@ -29,9 +31,7 @@ | |||
| 29 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 31 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 30 | .\" SUCH DAMAGE. | 32 | .\" SUCH DAMAGE. |
| 31 | .\" | 33 | .\" |
| 32 | .\" $OpenBSD: memcmp.3,v 1.6 2007/05/31 19:19:32 jmc Exp $ | 34 | .Dd $Mdocdate: July 25 2011 $ |
| 33 | .\" | ||
| 34 | .Dd $Mdocdate: May 31 2007 $ | ||
| 35 | .Dt MEMCMP 3 | 35 | .Dt MEMCMP 3 |
| 36 | .Os | 36 | .Os |
| 37 | .Sh NAME | 37 | .Sh NAME |
| @@ -69,9 +69,17 @@ Zero-length strings are always identical. | |||
| 69 | .Xr strcasecmp 3 , | 69 | .Xr strcasecmp 3 , |
| 70 | .Xr strcmp 3 , | 70 | .Xr strcmp 3 , |
| 71 | .Xr strcoll 3 , | 71 | .Xr strcoll 3 , |
| 72 | .Xr strxfrm 3 | 72 | .Xr strxfrm 3 , |
| 73 | .Xr wmemcmp 3 | ||
| 73 | .Sh STANDARDS | 74 | .Sh STANDARDS |
| 74 | The | 75 | The |
| 75 | .Fn memcmp | 76 | .Fn memcmp |
| 76 | function conforms to | 77 | function conforms to |
| 77 | .St -ansiC . | 78 | .St -ansiC . |
| 79 | .Sh HISTORY | ||
| 80 | The | ||
| 81 | .Fn memcmp | ||
| 82 | function first appeared in | ||
| 83 | .At V | ||
| 84 | and was reimplemented for | ||
| 85 | .Bx 4.3 Tahoe . | ||
