diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/stdio/printf.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdio/printf.3 b/lib/libc/stdio/printf.3 index e9a1cf54782..8cc10f393d2 100644 --- a/lib/libc/stdio/printf.3 +++ b/lib/libc/stdio/printf.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: printf.3,v 1.42 2003/07/15 10:05:36 jmc Exp $ +.\" $OpenBSD: printf.3,v 1.43 2003/08/17 17:08:09 grange Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -597,9 +597,9 @@ fprintf(stdout, "pi = %.5f\en", 4 * atan(1.0)); .Pp To allocate a 128 byte string and print into it: .Bd -literal -offset indent +#include <stdarg.h> #include <stdio.h> #include <stdlib.h> -#include <stdarg.h> char * newfmt(const char *fmt, ...) |