Deleted Added
full compact
25c25
< .\" $FreeBSD: head/lib/libc/locale/wcrtomb.3 128032 2004-04-08 09:59:02Z tjr $
---
> .\" $FreeBSD: head/lib/libc/locale/wcrtomb.3 250883 2013-05-21 19:59:37Z ed $
27c27
< .Dd April 8, 2004
---
> .Dd May 21, 2013
31c31,33
< .Nm wcrtomb
---
> .Nm wcrtomb ,
> .Nm c16rtomb ,
> .Nm c32rtomb
38c40,45
< .Fn wcrtomb "char * restrict s" "wchar_t wc" "mbstate_t * restrict ps"
---
> .Fn wcrtomb "char * restrict s" "wchar_t c" "mbstate_t * restrict ps"
> .In uchar.h
> .Ft size_t
> .Fn c16rtomb "char * restrict s" "char16_t c" "mbstate_t * restrict ps"
> .Ft size_t
> .Fn c32rtomb "char * restrict s" "char32_t c" "mbstate_t * restrict ps"
41,42c48,52
< .Fn wcrtomb
< function stores a multibyte sequence representing the
---
> .Fn wcrtomb ,
> .Fn c16rtomb
> and
> .Fn c32rtomb
> functions store a multibyte sequence representing the
44c54
< .Fa wc ,
---
> .Fa c ,
56,57c66
< .Fn wcrtomb
< behaves as if
---
> these functions behave as if
60c69
< .Fa wc
---
> .Fa c
70,71c79
< .Fn wcrtomb
< uses an internal, static
---
> these functions use an internal, static
74a83,88
> .Pp
> As certain multibyte characters may only be represented by a series of
> 16-bit characters, the
> .Fn c16rtomb
> may need to invoked multiple times before a multibyte sequence is
> returned.
76,78c90
< The
< .Fn wcrtomb
< functions returns the length (in bytes) of the multibyte sequence
---
> These functions return the length (in bytes) of the multibyte sequence
80c92
< .Fa wc ,
---
> .Fa c ,
84c96
< .Fa wc
---
> .Fa c
88,89c100,104
< .Fn wcrtomb
< function will fail if:
---
> .Fn wcrtomb ,
> .Fn c16rtomb
> and
> .Fn c32rtomb
> functions will fail if:
103,105c118,123
< .Fn wcrtomb
< function conforms to
< .St -isoC-99 .
---
> .Fn wcrtomb ,
> .Fn c16rtomb
> and
> .Fn c32rtomb
> functions conform to
> .St -isoC-2011 .