summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2006-07-04 20:36:57 +0000
committerotto <otto@openbsd.org>2006-07-04 20:36:57 +0000
commit2e5871651a9f8828d52c0df89bec1f7fa0512d85 (patch)
tree2ca5cb9bb1bfe77f066268fef7e46e39de357218
parentallocate gsalt large enough; from Matthew R. Dempsky <mrd at alkemio (diff)
downloadwireguard-openbsd-2e5871651a9f8828d52c0df89bec1f7fa0512d85.tar.xz
wireguard-openbsd-2e5871651a9f8828d52c0df89bec1f7fa0512d85.zip
fix prototype of wcstombs; from TAKAHASHI Tamotsu
-rw-r--r--lib/libc/locale/wcstombs.34
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/locale/wcstombs.3 b/lib/libc/locale/wcstombs.3
index e4a5fc9fff0..7cfd8fb120c 100644
--- a/lib/libc/locale/wcstombs.3
+++ b/lib/libc/locale/wcstombs.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: wcstombs.3,v 1.1 2005/05/11 18:44:12 espie Exp $
+.\" $OpenBSD: wcstombs.3,v 1.2 2006/07/04 20:36:57 otto Exp $
.\" $NetBSD: wcstombs.3,v 1.5 2003/09/08 17:54:32 wiz Exp $
.\"
.\" Copyright (c)2002 Citrus Project,
@@ -36,7 +36,7 @@
.Sh SYNOPSIS
.Fd #include <stdlib.h>
.Ft size_t
-.Fn wcstombs "const char * restrict s" "wchar_t * restrict pwcs" "size_t n"
+.Fn wcstombs "char * restrict s" "const wchar_t * restrict pwcs" "size_t n"
.\" ----------------------------------------------------------------------
.Sh DESCRIPTION
.Fn wcstombs