memmem.3 (30da840c627c80800c06edef346d907d6e5066a6) | memmem.3 (24ec316c13bdbe27c4d68b7982e781d35221980e) |
---|---|
1.\" Copyright (c) 2005 Pascal Gloor <pascal.gloor@spale.com> 2.\" 3.\" Redistribution and use in source and binary forms, with or without 4.\" modification, are permitted provided that the following conditions 5.\" are met: 6.\" 1. Redistributions of source code must retain the above copyright 7.\" notice, this list of conditions and the following disclaimer. 8.\" 2. Redistributions in binary form must reproduce the above copyright --- 12 unchanged lines hidden (view full) --- 21.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25.\" SUCH DAMAGE. 26.\" 27.\" $FreeBSD$ 28.\" | 1.\" Copyright (c) 2005 Pascal Gloor <pascal.gloor@spale.com> 2.\" 3.\" Redistribution and use in source and binary forms, with or without 4.\" modification, are permitted provided that the following conditions 5.\" are met: 6.\" 1. Redistributions of source code must retain the above copyright 7.\" notice, this list of conditions and the following disclaimer. 8.\" 2. Redistributions in binary form must reproduce the above copyright --- 12 unchanged lines hidden (view full) --- 21.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25.\" SUCH DAMAGE. 26.\" 27.\" $FreeBSD$ 28.\" |
29.Dd March 30, 2023 | 29.Dd June 29, 2023 |
30.Dt MEMMEM 3 31.Os 32.Sh NAME 33.Nm memmem 34.Nd "locate a byte substring in a byte string" 35.Sh LIBRARY 36.Lb libc 37.Sh SYNOPSIS --- 29 unchanged lines hidden (view full) --- 67is returned. 68.Sh SEE ALSO 69.Xr memchr 3 , 70.Xr strchr 3 , 71.Xr strstr 3 72.Sh CONFORMING TO 73.Fn memmem 74started as a GNU extension but is now available in at least | 30.Dt MEMMEM 3 31.Os 32.Sh NAME 33.Nm memmem 34.Nd "locate a byte substring in a byte string" 35.Sh LIBRARY 36.Lb libc 37.Sh SYNOPSIS --- 29 unchanged lines hidden (view full) --- 67is returned. 68.Sh SEE ALSO 69.Xr memchr 3 , 70.Xr strchr 3 , 71.Xr strstr 3 72.Sh CONFORMING TO 73.Fn memmem 74started as a GNU extension but is now available in at least |
75the GNU, musl, bionic, OpenBSD, NetBSD, macOS, and Illumos C runtime libraries. | 75the GNU, musl, bionic, OpenBSD, NetBSD, macOS, and illumos C runtime libraries. |
76.Sh HISTORY 77The 78.Fn memmem 79function first appeared in 80.Fx 6.0 . 81It was replaced with an optimized O(n) implementation from the musl libc 82project in 83.Fx 12.0 . --- 13 unchanged lines hidden --- | 76.Sh HISTORY 77The 78.Fn memmem 79function first appeared in 80.Fx 6.0 . 81It was replaced with an optimized O(n) implementation from the musl libc 82project in 83.Fx 12.0 . --- 13 unchanged lines hidden --- |