mblen.3 (131472) | mblen.3 (131608) |
---|---|
1.\" Copyright (c) 2002-2004 Tim J. Robbins. All rights reserved. 2.\" Copyright (c) 1993 3.\" The Regents of the University of California. All rights reserved. 4.\" 5.\" This code is derived from software contributed to Berkeley by 6.\" Donn Seeley of BSDI. 7.\" 8.\" Redistribution and use in source and binary forms, with or without --- 21 unchanged lines hidden (view full) --- 30.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34.\" SUCH DAMAGE. 35.\" 36.\" From @(#)multibyte.3 8.1 (Berkeley) 6/4/93 37.\" From FreeBSD: src/lib/libc/locale/multibyte.3,v 1.22 2003/11/08 03:23:11 tjr Exp | 1.\" Copyright (c) 2002-2004 Tim J. Robbins. All rights reserved. 2.\" Copyright (c) 1993 3.\" The Regents of the University of California. All rights reserved. 4.\" 5.\" This code is derived from software contributed to Berkeley by 6.\" Donn Seeley of BSDI. 7.\" 8.\" Redistribution and use in source and binary forms, with or without --- 21 unchanged lines hidden (view full) --- 30.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34.\" SUCH DAMAGE. 35.\" 36.\" From @(#)multibyte.3 8.1 (Berkeley) 6/4/93 37.\" From FreeBSD: src/lib/libc/locale/multibyte.3,v 1.22 2003/11/08 03:23:11 tjr Exp |
38.\" $FreeBSD: head/lib/libc/locale/mblen.3 131472 2004-07-02 19:07:33Z ru $ | 38.\" $FreeBSD: head/lib/libc/locale/mblen.3 131608 2004-07-05 06:39:03Z ru $ |
39.\" 40.Dd April 11, 2004 41.Dt MBLEN 3 42.Os 43.Sh NAME 44.Nm mblen 45.Nd get number of bytes in a character 46.Sh LIBRARY --- 35 unchanged lines hidden (view full) --- 82either returns 0 if 83.Fa mbchar 84represents the null wide character, or returns 85the number of bytes processed in 86.Fa mbchar , 87or returns \-1 if no multibyte character 88could be recognized or converted. 89In this case, | 39.\" 40.Dd April 11, 2004 41.Dt MBLEN 3 42.Os 43.Sh NAME 44.Nm mblen 45.Nd get number of bytes in a character 46.Sh LIBRARY --- 35 unchanged lines hidden (view full) --- 82either returns 0 if 83.Fa mbchar 84represents the null wide character, or returns 85the number of bytes processed in 86.Fa mbchar , 87or returns \-1 if no multibyte character 88could be recognized or converted. 89In this case, |
90.Fn mblen Ns No 's | 90.Fn mblen Ns 's |
91internal conversion state is undefined. 92.Sh ERRORS 93The 94.Fn mblen 95function will fail if: 96.Bl -tag -width Er 97.It Bq Er EILSEQ 98An invalid multibyte sequence was detected. --- 12 unchanged lines hidden --- | 91internal conversion state is undefined. 92.Sh ERRORS 93The 94.Fn mblen 95function will fail if: 96.Bl -tag -width Er 97.It Bq Er EILSEQ 98An invalid multibyte sequence was detected. --- 12 unchanged lines hidden --- |