memmem.3 (fa9896e082a1046ff4fbc75fcba4d18d1f2efc19) | memmem.3 (dfa0ac74c2fbc1cde3e8cdb1ab9fe5cbb90a9b16) |
---|---|
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 --- 53 unchanged lines hidden (view full) --- 62is returned; 63otherwise a pointer to the first character of the first occurrence of 64.Fa little 65is returned. 66.Sh SEE ALSO 67.Xr memchr 3 , 68.Xr strchr 3 , 69.Xr strstr 3 | 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 --- 53 unchanged lines hidden (view full) --- 62is returned; 63otherwise a pointer to the first character of the first occurrence of 64.Fa little 65is returned. 66.Sh SEE ALSO 67.Xr memchr 3 , 68.Xr strchr 3 , 69.Xr strstr 3 |
70.Sh CONFORMING TO | 70.Sh STANDARDS |
71.Fn memmem | 71.Fn memmem |
72started as a GNU extension but is now available in at least 73the GNU, musl, bionic, OpenBSD, NetBSD, macOS, and illumos C runtime libraries. | 72conforms to 73.St -p1003.1-2024 . |
74.Sh HISTORY 75The 76.Fn memmem 77function first appeared in 78.Fx 6.0 . 79It was replaced with an optimized O(n) implementation from the musl libc 80project in 81.Fx 12.0 . --- 13 unchanged lines hidden --- | 74.Sh HISTORY 75The 76.Fn memmem 77function first appeared in 78.Fx 6.0 . 79It was replaced with an optimized O(n) implementation from the musl libc 80project in 81.Fx 12.0 . --- 13 unchanged lines hidden --- |