summaryrefslogtreecommitdiffstats
path: root/man3/stdarg.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/stdarg.3')
-rw-r--r--man3/stdarg.36
1 files changed, 3 insertions, 3 deletions
diff --git a/man3/stdarg.3 b/man3/stdarg.3
index 59af5d58e..68529802a 100644
--- a/man3/stdarg.3
+++ b/man3/stdarg.3
@@ -261,16 +261,16 @@ with each format character based on the type.
.EX
#include <stdio.h>
#include <stdarg.h>
-
+\&
void
foo(char *fmt, ...) /* \[aq]...\[aq] is C syntax for a variadic function */
-
+\&
{
va_list ap;
int d;
char c;
char *s;
-
+\&
va_start(ap, fmt);
while (*fmt)
switch (*fmt++) {