bcmp.3 (d1d015864103b253b3fcb2f72a0da5b0cfeb31b6) | bcmp.3 (854023f054291b7ecebb98ce5d91701caf244713) |
---|---|
1.\" Copyright (c) 1990, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" This code is derived from software contributed to Berkeley by 5.\" Chris Torek. 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: --- 16 unchanged lines hidden (view full) --- 25.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28.\" SUCH DAMAGE. 29.\" 30.\" @(#)bcmp.3 8.1 (Berkeley) 6/4/93 31.\" $FreeBSD$ 32.\" | 1.\" Copyright (c) 1990, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" This code is derived from software contributed to Berkeley by 5.\" Chris Torek. 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: --- 16 unchanged lines hidden (view full) --- 25.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28.\" SUCH DAMAGE. 29.\" 30.\" @(#)bcmp.3 8.1 (Berkeley) 6/4/93 31.\" $FreeBSD$ 32.\" |
33.Dd June 4, 1993 | 33.Dd August 15, 2016 |
34.Dt BCMP 3 35.Os 36.Sh NAME 37.Nm bcmp 38.Nd compare byte string 39.Sh LIBRARY 40.Lb libc 41.Sh SYNOPSIS --- 15 unchanged lines hidden (view full) --- 57Zero-length strings are always identical. 58.Pp 59The strings may overlap. 60.Sh SEE ALSO 61.Xr memcmp 3 , 62.Xr strcasecmp 3 , 63.Xr strcmp 3 , 64.Xr strcoll 3 , | 34.Dt BCMP 3 35.Os 36.Sh NAME 37.Nm bcmp 38.Nd compare byte string 39.Sh LIBRARY 40.Lb libc 41.Sh SYNOPSIS --- 15 unchanged lines hidden (view full) --- 57Zero-length strings are always identical. 58.Pp 59The strings may overlap. 60.Sh SEE ALSO 61.Xr memcmp 3 , 62.Xr strcasecmp 3 , 63.Xr strcmp 3 , 64.Xr strcoll 3 , |
65.Xr strxfrm 3 | 65.Xr strxfrm 3 , 66.Xr timingsafe_bcmp 3 |
66.Sh HISTORY 67A 68.Fn bcmp 69function first appeared in 70.Bx 4.2 . 71Its prototype existed previously in 72.In string.h 73before it was moved to 74.In strings.h 75for 76.St -p1003.1-2001 77compliance. | 67.Sh HISTORY 68A 69.Fn bcmp 70function first appeared in 71.Bx 4.2 . 72Its prototype existed previously in 73.In string.h 74before it was moved to 75.In strings.h 76for 77.St -p1003.1-2001 78compliance. |