summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/printf.3
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2013-04-01 20:16:31 +0000
committerguenther <guenther@openbsd.org>2013-04-01 20:16:31 +0000
commitf188d74bd9592e8a5da86bf492fc1094a2fb65ad (patch)
tree07f847bb5ce020164101a81e3ed9495acec624c2 /lib/libc/stdio/printf.3
parentMake ugen_get_cdesc() a generic function by renaming it to usbd_get_cdesc() (diff)
downloadwireguard-openbsd-f188d74bd9592e8a5da86bf492fc1094a2fb65ad.tar.xz
wireguard-openbsd-f188d74bd9592e8a5da86bf492fc1094a2fb65ad.zip
When there are multiple groups of functions with their own #includes
listed, the #includes in each group are independent, so that users don't need to guess at possible carry-over. general idea ok otto@ millert@ actual diff ok jmc@ schwarze@
Diffstat (limited to 'lib/libc/stdio/printf.3')
-rw-r--r--lib/libc/stdio/printf.35
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/stdio/printf.3 b/lib/libc/stdio/printf.3
index 24ceb425d1b..d540a97f8e8 100644
--- a/lib/libc/stdio/printf.3
+++ b/lib/libc/stdio/printf.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: printf.3,v 1.61 2013/03/04 01:50:01 brad Exp $
+.\" $OpenBSD: printf.3,v 1.62 2013/04/01 20:16:31 guenther Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -33,7 +33,7 @@
.\"
.\" @(#)printf.3 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: March 4 2013 $
+.Dd $Mdocdate: April 1 2013 $
.Dt PRINTF 3
.Os
.Sh NAME
@@ -65,6 +65,7 @@
.Ft int
.Fn dprintf "int fd" "const char * restrict format" ...
.Fd #include <stdarg.h>
+.Fd #include <stdio.h>
.Ft int
.Fn vprintf "const char *format" "va_list ap"
.Ft int