summaryrefslogtreecommitdiff
path: root/libiberty/bsearch.c
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2011-02-03 07:23:59 +0000
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>2011-02-03 07:23:59 +0000
commitd4d868a28076273e828f299e896dbc1af827208a (patch)
tree450a54c91a2a493146b9c9b1ea89f764f5fd3765 /libiberty/bsearch.c
parent876c33db725954517df40daa09c6062f9431d68b (diff)
downloadbinutils-gdb-d4d868a28076273e828f299e896dbc1af827208a.tar.gz
libiberty: documentation markup and order fixes.
libiberty/: * splay-tree.c: Escape wrapping newlines in texinfo markup with '@', to fix function declaration output rendering. * gather-docs: Relax and improve macro name matching to actually match all current names and to allow input line wrapping. * bsearch.c, concat.c, crc32.c, fnmatch.txh, fopen_unlocked.c, hashtab.c, insque.c, make-relative-prefix.c, memchr.c, memcmp.c, memcpy.c, memmem.c, memmove.c, mempcpy.c, memset.c, pexecute.txh, random.c, setenv.c, setproctitle.c, simple-object.txh, snprintf.c, stpncpy.c, strncmp.c, strtod.c, strtol.c, vasprintf.c, vprintf.c, vsnprintf.c, xmemdup.c: Wrap long texinfo input lines. * functions.texi: Regenerate.
Diffstat (limited to 'libiberty/bsearch.c')
-rw-r--r--libiberty/bsearch.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libiberty/bsearch.c b/libiberty/bsearch.c
index 771d5de7b12..35fad19977c 100644
--- a/libiberty/bsearch.c
+++ b/libiberty/bsearch.c
@@ -30,7 +30,9 @@
/*
-@deftypefn Supplemental void* bsearch (const void *@var{key}, const void *@var{base}, size_t @var{nmemb}, size_t @var{size}, int (*@var{compar})(const void *, const void *))
+@deftypefn Supplemental void* bsearch (const void *@var{key}, @
+ const void *@var{base}, size_t @var{nmemb}, size_t @var{size}, @
+ int (*@var{compar})(const void *, const void *))
Performs a search over an array of @var{nmemb} elements pointed to by
@var{base} for a member that matches the object pointed to by @var{key}.