aboutsummaryrefslogtreecommitdiffstats
path: root/man3/stdarg.3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2007-05-16 17:35:34 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2007-05-16 17:35:34 +0000
commit8af1ba10bd5ee1b92995fce133803f16156dca94 (patch)
treebab32b668604859702de1f174b1ab8548fc3d475 /man3/stdarg.3
parent6b8fa90b18509fdbdbf6b75aecf4653a1fb9c2e4 (diff)
downloadman-pages-8af1ba10bd5ee1b92995fce133803f16156dca94.tar.gz
Convert SH to SS and other section-related fixes.
Diffstat (limited to 'man3/stdarg.3')
-rw-r--r--man3/stdarg.311
1 files changed, 7 insertions, 4 deletions
diff --git a/man3/stdarg.3 b/man3/stdarg.3
index a62614848a..465aeb4302 100644
--- a/man3/stdarg.3
+++ b/man3/stdarg.3
@@ -208,6 +208,7 @@ takes a string of format characters and prints out the argument associated
with each format character based on the type.
.RS
.nf
+
#include <stdio.h>
#include <stdarg.h>
@@ -250,16 +251,17 @@ macros conform to C89.
C99 defines the
.BR va_copy ()
macro.
-.SH COMPATIBILITY
+.SH NOTES
These macros are
.I not
compatible with the historic macros they replace.
A backward compatible version can be found in the include file
.IR varargs.h .
-.SH COMPARISON
+.PP
The historic setup is:
-.RS
+.in +0.5i
.nf
+
#include <varargs.h>
void
@@ -276,8 +278,9 @@ foo(va_alist)
}
va_end(ap);
}
+
.fi
-.RE
+.in
On some systems,
.I va_end
contains a closing '}' matching a '{' in