diff options
author | andre <andre@FreeBSD.org> | 2005-08-25 18:26:58 +0000 |
---|---|---|
committer | andre <andre@FreeBSD.org> | 2005-08-25 18:26:58 +0000 |
commit | 45fd598f4942e0ea7d9bb2098d535eb046cfc00c (patch) | |
tree | 2f1fcdc8a52ba5e5b1514b1acb657de861faeded /lib/libc/string/strstr.3 | |
parent | 07a0e1e154365c2461f41a99ec29ae4aa16d3905 (diff) | |
download | FreeBSD-src-45fd598f4942e0ea7d9bb2098d535eb046cfc00c.zip FreeBSD-src-45fd598f4942e0ea7d9bb2098d535eb046cfc00c.tar.gz |
Add the function memmem(3) as found in glibc and others.
It is the binary equivalent to strstr(3).
void *memmem(const void *big, size_t big_len,
const void *little, size_t little_len);
Submitted by: Pascal Gloor <pascal.gloor at spale.com>
MFC after: 3 days
Diffstat (limited to 'lib/libc/string/strstr.3')
-rw-r--r-- | lib/libc/string/strstr.3 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/string/strstr.3 b/lib/libc/string/strstr.3 index 16c6db2..a2136c8 100644 --- a/lib/libc/string/strstr.3 +++ b/lib/libc/string/strstr.3 @@ -132,6 +132,7 @@ ptr = strnstr(largestring, smallstring, 4); .Ed .Sh SEE ALSO .Xr memchr 3 , +.Xr memmem 3 , .Xr strchr 3 , .Xr strcspn 3 , .Xr strpbrk 3 , |