summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2003-08-17 17:08:10 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2003-08-17 17:08:10 +0000
commita60cbb78154af0c8bb66c15ae2ef6258b833b7e5 (patch)
tree3c90ab41ae0e9a9b6ad44fb86c4518546c8f2afc /lib
parent3b9fa25bb943a122b0269dadf6399f149ec8b51d (diff)
Sort headers in example
ok millert@
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/stdio/printf.34
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, ...)