Query: memmem
OS: freebsd
Section: 3
Links: freebsd man pages all man pages
Forums: unix linux community forum categories
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
MEMMEM(3) BSD Library Functions Manual MEMMEM(3)NAMEmemmem -- locate a byte substring in a byte stringLIBRARYStandard C Library (libc, -lc)SYNOPSIS#include <string.h> void * memmem(const void *big, size_t big_len, const void *little, size_t little_len);DESCRIPTIONThe memmem() function locates the first occurrence of the byte string little in the byte string big.RETURN VALUESIf big_len is smaller than little_len, if little_len is 0, if big_len is 0 or if little occurs nowhere in big, NULL is returned; otherwise a pointer to the first character of the first occurrence of little is returned.SEE ALSOmemchr(3), strchr(3), strstr(3)CONFORMING TOmemmem() is a GNU extension.HISTORYThe memmem() function first appeared in FreeBSD 6.0.AUTHORSPascal Gloor <pascal.gloor@spale.com>BUGSThis function was broken in Linux libc up to and including version 5.0.9 and in GNU libc prior to version 2.1.BSDAugust 24, 2005 BSD
Related Man Pages |
---|
strchr(3) - freebsd |
memmem(3) - suse |
memmem(3) - netbsd |
memrchr(3) - freebsd |
memmem(3) - v7 |
Similar Topics in the Unix Linux Community |
---|
Mac OS X: Based on UNIX - Solid As a Rock |
The Whole Story on #! /usr/bin/ksh |
Is it safe to install x86 Solaris 10 U6 after installed-Linux-and-FreeBSD? |
Controlling user input |