diff options
Diffstat (limited to 'man3/stdarg.3')
| -rw-r--r-- | man3/stdarg.3 | 11 |
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 |
