*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: memmem | Section: 3 | Source: NetBSD | File: memmem.3
MEMMEM(3) FreeBSD Library Functions Manual MEMMEM(3) NAME memmem - locate substring in byte string LIBRARY Standard C Library (libc, -lc) SYNOPSIS #include <string.h> void * memmem(const void *block, size_t blen, const void *pat, size_t plen); DESCRIPTION The memmem() function locates the first occurrence of the binary string pat of size plen bytes in the byte string block of size blen bytes. RETURN VALUES The memmem() function returns a pointer to the substring located, or NULL if no such substring exists within block. If plen is zero, block is returned, i.e. a zero length pat is deemed to match the start of the string, as with strstr(3). SEE ALSO bm(3), memchr(3), strchr(3), strstr(3) STANDARDS The memmem() function is not currently standardized. However, it is meant to be API compatible with functions in FreeBSD and Linux. HISTORY memmem() first appeared in the Free Software Foundation's glibc library. FreeBSD 14.1-RELEASE-p8 March 12, 2005 FreeBSD 14.1-RELEASE-p8

Navigation Options