summaryrefslogtreecommitdiff
path: root/libiberty/functions.texi
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2009-03-27 23:07:30 +0000
committerDJ Delorie <dj@redhat.com>2009-03-27 23:07:30 +0000
commit10e1b6bb907a5ec314012ebb75c94a8e5b29b145 (patch)
tree3d344b80c8ca11587f2d45ebf529613ea62e6983 /libiberty/functions.texi
parent33aea2fd651cf208e9e3c94c43cc3e10a12f03ea (diff)
downloadbinutils-gdb-10e1b6bb907a5ec314012ebb75c94a8e5b29b145.tar.gz
merge from gcc
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 34566d8f17a..da9a3202235 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})