mblen.3 (128102) | mblen.3 (131472) |
---|---|
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 128102 2004-04-11 05:19:19Z tjr $ | 38.\" $FreeBSD: head/lib/libc/locale/mblen.3 131472 2004-07-02 19:07:33Z 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 --- 38 unchanged lines hidden (view full) --- 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 91internal conversion state is undefined. 92.Sh ERRORS | 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 --- 38 unchanged lines hidden (view full) --- 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 91internal conversion state is undefined. 92.Sh ERRORS |
93The | 93The |
94.Fn mblen 95function will fail if: 96.Bl -tag -width Er 97.It Bq Er EILSEQ 98An invalid multibyte sequence was detected. 99.It Bq Er EINVAL 100The internal conversion state is not valid. 101.El 102.Sh SEE ALSO 103.Xr mbrlen 3 , 104.Xr mbtowc 3 , 105.Xr multibyte 3 106.Sh STANDARDS 107The 108.Fn mblen 109function conforms to 110.St -isoC-99 . | 94.Fn mblen 95function will fail if: 96.Bl -tag -width Er 97.It Bq Er EILSEQ 98An invalid multibyte sequence was detected. 99.It Bq Er EINVAL 100The internal conversion state is not valid. 101.El 102.Sh SEE ALSO 103.Xr mbrlen 3 , 104.Xr mbtowc 3 , 105.Xr multibyte 3 106.Sh STANDARDS 107The 108.Fn mblen 109function conforms to 110.St -isoC-99 . |