summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2017-12-01 10:56:07 +0000
committerschwarze <schwarze@openbsd.org>2017-12-01 10:56:07 +0000
commit3215c5d7c5b2845380a454b529b485aa0df3baeb (patch)
treed062d3fb0e4a8e833b84181b068ec84933c2124a /lib/libc
parentSimplify the reverse PCB lookup logic. The PF_TAG_TRANSLATE_LOCALHOST (diff)
downloadwireguard-openbsd-3215c5d7c5b2845380a454b529b485aa0df3baeb.tar.xz
wireguard-openbsd-3215c5d7c5b2845380a454b529b485aa0df3baeb.zip
add missing argument name; from <kshe59 at zoho dot eu>; OK jmc@;
while here, consistently use .Fo to cure execessive line lengths
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/stdio/wprintf.340
1 files changed, 32 insertions, 8 deletions
diff --git a/lib/libc/stdio/wprintf.3 b/lib/libc/stdio/wprintf.3
index a45aebe6459..98711c21cfb 100644
--- a/lib/libc/stdio/wprintf.3
+++ b/lib/libc/stdio/wprintf.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: wprintf.3,v 1.4 2014/05/13 20:51:00 jmc Exp $
+.\" $OpenBSD: wprintf.3,v 1.5 2017/12/01 10:56:07 schwarze 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: May 13 2014 $
+.Dd $Mdocdate: December 1 2017 $
.Dt WPRINTF 3
.Os
.Sh NAME
@@ -44,18 +44,42 @@
.In stdio.h
.In wchar.h
.Ft int
-.Fn fwprintf "FILE * restrict stream" "const wchar_t * restrict format" ...
+.Fo fwprintf
+.Fa "FILE * restrict stream"
+.Fa "const wchar_t * restrict format"
+.Fa ...
+.Fc
.Ft int
-.Fn swprintf "wchar_t * restrict ws" "size_t n" "const wchar_t * restrict format" ...
+.Fo swprintf
+.Fa "wchar_t * restrict ws"
+.Fa "size_t n"
+.Fa "const wchar_t * restrict format"
+.Fa ...
+.Fc
.Ft int
-.Fn wprintf "const wchar_t * restrict format" ...
+.Fo wprintf
+.Fa "const wchar_t * restrict format"
+.Fa ...
+.Fc
.In stdarg.h
.Ft int
-.Fn vfwprintf "FILE * restrict stream" "const wchar_t * restrict" "va_list ap"
+.Fo vfwprintf
+.Fa "FILE * restrict stream"
+.Fa "const wchar_t * restrict format"
+.Fa "va_list ap"
+.Fc
.Ft int
-.Fn vswprintf "wchar_t * restrict ws" "size_t n" "const wchar_t *restrict format" "va_list ap"
+.Fo vswprintf
+.Fa "wchar_t * restrict ws"
+.Fa "size_t n"
+.Fa "const wchar_t * restrict format"
+.Fa "va_list ap"
+.Fc
.Ft int
-.Fn vwprintf "const wchar_t * restrict format" "va_list ap"
+.Fo vwprintf
+.Fa "const wchar_t * restrict format"
+.Fa "va_list ap"
+.Fc
.Sh DESCRIPTION
The
.Fn wprintf