aboutsummaryrefslogtreecommitdiff
path: root/libiberty/functions.texi
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2009-03-27 22:38:23 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2009-03-27 22:38:23 +0000
commit5fbd944721c275a13c19ebf83ee76eb51732d9ae (patch)
treeb0984c49d6350c94d36f4040e271ef98474901a4 /libiberty/functions.texi
parent2ac26e152e6ee91698ddd752d3ec788ead9c90df (diff)
downloadgcc-5fbd944721c275a13c19ebf83ee76eb51732d9ae.zip
gcc-5fbd944721c275a13c19ebf83ee76eb51732d9ae.tar.gz
gcc-5fbd944721c275a13c19ebf83ee76eb51732d9ae.tar.bz2
memmem.c: New file, from gnulib.
* memmem.c: New file, from gnulib. * configure.ac: Add memmem to list of functions provided if they are not available on the host. * Makefile.in: Rebuild dependencies. (CFILES): Add memmem.c. (CONFIGURED_OFILES): Add memmem.o. * configure, config.in, functions.texi: Rebuild. From-SVN: r145139
Diffstat (limited to 'libiberty/functions.texi')
-rw-r--r--libiberty/functions.texi13
1 files changed, 11 insertions, 2 deletions
diff --git a/libiberty/functions.texi b/libiberty/functions.texi
index 34566d8..da9a320 100644
--- a/libiberty/functions.texi
+++ b/libiberty/functions.texi
@@ -158,7 +158,7 @@ not recommended.
@end deftypefn
-@c make-temp-file.c:87
+@c make-temp-file.c:95
@deftypefn Replacement char* choose_tmpdir ()
Returns a pointer to a directory path suitable for creating temporary
@@ -602,7 +602,7 @@ relative prefix can be found, return @code{NULL}.
@end deftypefn
-@c make-temp-file.c:137
+@c make-temp-file.c:163
@deftypefn Replacement char* make_temp_file (const char *@var{suffix})
Return a temporary file name (as a string) or @code{NULL} if unable to
@@ -643,6 +643,15 @@ Copies @var{length} bytes from memory region @var{in} to region
@end deftypefn
+@c memmem.c:20
+@deftypefn Supplemental void* memmem (const void *@var{haystack}, size_t @var{haystack_len} const void *@var{needle}, size_t @var{needle_len})
+
+Returns a pointer to the first occurrence of @var{needle} (length
+@var{needle_len}) in @var{haystack} (length @var{haystack_len}).
+Returns @code{NULL} if not found.
+
+@end deftypefn
+
@c memmove.c:6
@deftypefn Supplemental void* memmove (void *@var{from}, const void *@var{to}, size_t @var{count})