memmem man page on Cygwin

Man page or keyword search:  
man Server   22533 pages
apropos Keyword Search (all sections)
Output format
Cygwin logo
[printable version]

MEMMEM(3)			    NEWLIB			     MEMMEM(3)

NAME
       6.9 `memmem'--find memory segment

SYNOPSIS
	    #include <string.h>
	    char *memmem(const void *S1, size_t L1, const void *S2,
		size_t L2);

DESCRIPTION
       Locates the first occurrence in the memory region pointed to by S1 with
       length L1 of the sequence of bytes pointed to by S2 of length  L2.   If
       you  already know the lengths of your haystack and needle, `memmem' can
       be much faster than `strstr'.

RETURNS
       Returns a pointer to the located segment, or a null pointer  if	S2  is
       not found. If L2 is 0, S1 is returned.

PORTABILITY
       `memmem' is a newlib extension.

	  `memmem' requires no supporting OS subroutines.

SEE ALSO
       memmem  is  part	 of  the library.  The full documentation for is main‐
       tained as a Texinfo manual.  If info and are properly installed at your
       site, the command

	      info

       will give you access to the complete manual.

NEWLIB				  April 2010			     MEMMEM(3)
[top]

List of man pages available for Cygwin

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net