aboutsummaryrefslogtreecommitdiff
path: root/libiberty/xmemdup.c
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2011-02-03 07:23:20 +0000
committerRalf Wildenhues <rwild@gcc.gnu.org>2011-02-03 07:23:20 +0000
commit996c0cb05f747d94ff4d6e9329e702414f46f700 (patch)
treecb675ca8bd5c5dc12e40565b61f7740d41e13811 /libiberty/xmemdup.c
parent4deef538ecda16acd4c0ae3d3ed71c591603ce73 (diff)
downloadgcc-996c0cb05f747d94ff4d6e9329e702414f46f700.zip
gcc-996c0cb05f747d94ff4d6e9329e702414f46f700.tar.gz
gcc-996c0cb05f747d94ff4d6e9329e702414f46f700.tar.bz2
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. From-SVN: r169783
Diffstat (limited to 'libiberty/xmemdup.c')
-rw-r--r--libiberty/xmemdup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libiberty/xmemdup.c b/libiberty/xmemdup.c
index d483116..aa56f0b 100644
--- a/libiberty/xmemdup.c
+++ b/libiberty/xmemdup.c
@@ -4,7 +4,8 @@
/*
-@deftypefn Replacement void* xmemdup (void *@var{input}, size_t @var{copy_size}, size_t @var{alloc_size})
+@deftypefn Replacement void* xmemdup (void *@var{input}, @
+ size_t @var{copy_size}, size_t @var{alloc_size})
Duplicates a region of memory without fail. First, @var{alloc_size} bytes
are allocated, then @var{copy_size} bytes from @var{input} are copied into