summaryrefslogtreecommitdiffstats
path: root/libiberty/vsnprintf.c
diff options
context:
space:
mode:
authorrwild <rwild@138bc75d-0d04-0410-961f-82ee72b054a4>2011-02-03 07:23:20 +0000
committerrwild <rwild@138bc75d-0d04-0410-961f-82ee72b054a4>2011-02-03 07:23:20 +0000
commitbac427a18edef590d2c439d737013f13830c3ebe (patch)
treecb675ca8bd5c5dc12e40565b61f7740d41e13811 /libiberty/vsnprintf.c
parent1f864115f7218c3d4186a28553506372a998461e (diff)
downloadppe42-gcc-bac427a18edef590d2c439d737013f13830c3ebe.tar.gz
ppe42-gcc-bac427a18edef590d2c439d737013f13830c3ebe.zip
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169783 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/vsnprintf.c')
-rw-r--r--libiberty/vsnprintf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libiberty/vsnprintf.c b/libiberty/vsnprintf.c
index 5470df2223b..6c0afa6726c 100644
--- a/libiberty/vsnprintf.c
+++ b/libiberty/vsnprintf.c
@@ -1,5 +1,5 @@
/* Implement the vsnprintf function.
- Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
+ Copyright (C) 2003, 2004, 2005, 2011 Free Software Foundation, Inc.
Written by Kaveh R. Ghazi <ghazi@caip.rutgers.edu>.
This file is part of the libiberty library. This library is free
@@ -25,7 +25,8 @@ the executable file might be covered by the GNU General Public License. */
/*
-@deftypefn Supplemental int vsnprintf (char *@var{buf}, size_t @var{n}, const char *@var{format}, va_list @var{ap})
+@deftypefn Supplemental int vsnprintf (char *@var{buf}, size_t @var{n}, @
+ const char *@var{format}, va_list @var{ap})
This function is similar to @code{vsprintf}, but it will write to
@var{buf} at most @code{@var{n}-1} bytes of text, followed by a
OpenPOWER on IntegriCloud