diff --git a/lib/libc/locale/mbrtowc.3 b/lib/libc/locale/mbrtowc.3 index 943c9bd5f9cd..80f7a597985e 100644 --- a/lib/libc/locale/mbrtowc.3 +++ b/lib/libc/locale/mbrtowc.3 @@ -1,4 +1,4 @@ -.\" $NetBSD: mbrtowc.3,v 1.7 2006/10/14 07:51:01 wiz Exp $ +.\" $NetBSD: mbrtowc.3,v 1.8 2006/10/16 09:10:29 wiz Exp $ .\" .\" Copyright (c)2002 Citrus Project, .\" All rights reserved. @@ -51,7 +51,9 @@ to the wchar_t object pointed to by .Fa pwc if .Fa pwc -is non-NULL and +is +.Pf non- Dv NULL +and .Fa s points to a valid character. The conversion happens in accordance with, and changes the conversion diff --git a/lib/libc/locale/mbtowc.3 b/lib/libc/locale/mbtowc.3 index cb4ac477bfde..317fb3344b0d 100644 --- a/lib/libc/locale/mbtowc.3 +++ b/lib/libc/locale/mbtowc.3 @@ -1,4 +1,4 @@ -.\" $NetBSD: mbtowc.3,v 1.7 2006/10/14 07:51:01 wiz Exp $ +.\" $NetBSD: mbtowc.3,v 1.8 2006/10/16 09:10:29 wiz Exp $ .\" .\" Copyright (c)2002 Citrus Project, .\" All rights reserved. @@ -47,7 +47,9 @@ to a wide character, and stores it in the wchar_t object pointed to by .Fa pwc if .Fa pwc -is non-NULL and +is +.Pf non- Dv NULL +and .Fa s points to a valid character. This function may inspect at most n bytes of the array beginning from