|
|
DataMuseum.dkPresents historical artifacts from the history of: RC9000 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about RC9000 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - downloadIndex: m
Length: 4692 (0x1254)
Names: »mbchar.3«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./usr/man/cat3/mbchar.3«
0x0000…0020 0a 0a 0a 5f 08 4f 5f 08 6e 5f 08 6c 5f 08 69 5f 08 6e 5f 08 65 20 5f 08 4d 5f 08 61 5f 08 6e 5f ┆ _ O_ n_ l_ i_ n_ e _ M_ a_ n_┆ 0x0020…0040 08 75 5f 08 61 5f 08 6c 20 20 20 20 20 20 20 20 20 20 20 4c 69 62 72 61 72 79 20 46 75 6e 63 74 ┆ u_ a_ l Library Funct┆ 0x0040…0060 69 6f 6e 73 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 62 63 68 61 72 28 33 29 0a 0a 0a 0a ┆ions mbchar(3) ┆ 0x0060…0080 4e 08 4e 08 4e 08 4e 41 08 41 08 41 08 41 4d 08 4d 08 4d 08 4d 45 08 45 08 45 08 45 0a 20 20 20 ┆N N N NA A A AM M M ME E E E ┆ 0x0080…00a0 20 20 6d 62 63 68 61 72 3a 20 6d 62 74 6f 77 63 2c 20 6d 62 6c 65 6e 2c 20 77 63 74 6f 6d 62 20 ┆ mbchar: mbtowc, mblen, wctomb ┆ 0x00a0…00c0 2d 20 6d 75 6c 74 69 62 79 74 65 20 63 68 61 72 61 63 74 65 72 20 68 61 6e 64 6c 69 6e 67 0a 0a ┆- multibyte character handling ┆ 0x00c0…00e0 53 08 53 08 53 08 53 59 08 59 08 59 08 59 4e 08 4e 08 4e 08 4e 54 08 54 08 54 08 54 41 08 41 08 ┆S S S SY Y Y YN N N NT T T TA A ┆ 0x00e0…0100 41 08 41 58 08 58 08 58 08 58 0a 20 20 20 20 20 23 08 23 08 23 08 23 69 08 69 08 69 08 69 6e 08 ┆A AX X X X # # # #i i i in ┆ 0x0100…0120 6e 08 6e 08 6e 63 08 63 08 63 08 63 6c 08 6c 08 6c 08 6c 75 08 75 08 75 08 75 64 08 64 08 64 08 ┆n n nc c c cl l l lu u u ud d d ┆ 0x0120…0140 64 65 08 65 08 65 08 65 20 3c 08 3c 08 3c 08 3c 73 08 73 08 73 08 73 74 08 74 08 74 08 74 64 08 ┆de e e e < < < <s s s st t t td ┆ 0x0140…0160 64 08 64 08 64 6c 08 6c 08 6c 08 6c 69 08 69 08 69 08 69 62 08 62 08 62 08 62 2e 08 2e 08 2e 08 ┆d d dl l l li i i ib b b b. . . ┆ 0x0160…0180 2e 68 08 68 08 68 08 68 3e 08 3e 08 3e 08 3e 0a 0a 20 20 20 20 20 69 08 69 08 69 08 69 6e 08 6e ┆.h h h h> > > > i i i in n┆ 0x0180…01a0 08 6e 08 6e 74 08 74 08 74 08 74 20 6d 08 6d 08 6d 08 6d 62 08 62 08 62 08 62 74 08 74 08 74 08 ┆ n nt t t t m m m mb b b bt t t ┆ 0x01a0…01c0 74 6f 08 6f 08 6f 08 6f 77 08 77 08 77 08 77 63 08 63 08 63 08 63 28 08 28 08 28 08 28 70 08 70 ┆to o o ow w w wc c c c( ( ( (p p┆ 0x01c0…01e0 08 70 08 70 77 08 77 08 77 08 77 63 08 63 08 63 08 63 2c 08 2c 08 2c 08 2c 20 73 08 73 08 73 08 ┆ p pw w w wc c c c, , , , s s s ┆ 0x01e0…0200 73 2c 08 2c 08 2c 08 2c 20 6e 08 6e 08 6e 08 6e 29 08 29 08 29 08 29 0a 20 20 20 20 20 77 08 77 ┆s, , , , n n n n) ) ) ) w w┆ 0x0200…0220 08 77 08 77 63 08 63 08 63 08 63 68 08 68 08 68 08 68 61 08 61 08 61 08 61 72 08 72 08 72 08 72 ┆ w wc c c ch h h ha a a ar r r r┆ 0x0220…0240 5f 08 5f 08 5f 08 5f 74 08 74 08 74 08 74 20 2a 08 2a 08 2a 08 2a 70 08 70 08 70 08 70 77 08 77 ┆_ _ _ _t t t t * * * *p p p pw w┆ 0x0240…0260 08 77 08 77 63 08 63 08 63 08 63 3b 08 3b 08 3b 08 3b 0a 20 20 20 20 20 63 08 63 08 63 08 63 68 ┆ w wc c c c; ; ; ; c c c ch┆ 0x0260…0280 08 68 08 68 08 68 61 08 61 08 61 08 61 72 08 72 08 72 08 72 20 2a 08 2a 08 2a 08 2a 73 08 73 08 ┆ h h ha a a ar r r r * * * *s s ┆ 0x0280…02a0 73 08 73 3b 08 3b 08 3b 08 3b 0a 20 20 20 20 20 73 08 73 08 73 08 73 69 08 69 08 69 08 69 7a 08 ┆s s; ; ; ; s s s si i i iz ┆ 0x02a0…02c0 7a 08 7a 08 7a 65 08 65 08 65 08 65 5f 08 5f 08 5f 08 5f 74 08 74 08 74 08 74 20 6e 08 6e 08 6e ┆z z ze e e e_ _ _ _t t t t n n n┆ 0x02c0…02e0 08 6e 3b 08 3b 08 3b 08 3b 0a 0a 20 20 20 20 20 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 74 08 ┆ n; ; ; ; i i i in n n nt ┆ 0x02e0…0300 74 08 74 08 74 20 6d 08 6d 08 6d 08 6d 62 08 62 08 62 08 62 6c 08 6c 08 6c 08 6c 65 08 65 08 65 ┆t t t m m m mb b b bl l l le e e┆ 0x0300…0320 08 65 6e 08 6e 08 6e 08 6e 28 08 28 08 28 08 28 73 08 73 08 73 08 73 2c 08 2c 08 2c 08 2c 20 6e ┆ en n n n( ( ( (s s s s, , , , n┆ 0x0320…0340 08 6e 08 6e 08 6e 29 08 29 08 29 08 29 0a 20 20 20 20 20 63 08 63 08 63 08 63 68 08 68 08 68 08 ┆ n n n) ) ) ) c c c ch h h ┆ 0x0340…0360 68 61 08 61 08 61 08 61 72 08 72 08 72 08 72 20 2a 08 2a 08 2a 08 2a 73 08 73 08 73 08 73 3b 08 ┆ha a a ar r r r * * * *s s s s; ┆ 0x0360…0380 3b 08 3b 08 3b 0a 20 20 20 20 20 73 08 73 08 73 08 73 69 08 69 08 69 08 69 7a 08 7a 08 7a 08 7a ┆; ; ; s s s si i i iz z z z┆ 0x0380…03a0 65 08 65 08 65 08 65 5f 08 5f 08 5f 08 5f 74 08 74 08 74 08 74 20 6e 08 6e 08 6e 08 6e 3b 08 3b ┆e e e e_ _ _ _t t t t n n n n; ;┆ 0x03a0…03c0 08 3b 08 3b 0a 0a 20 20 20 20 20 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 ┆ ; ; i i i in n n nt t t t┆ 0x03c0…03e0 20 77 08 77 08 77 08 77 63 08 63 08 63 08 63 74 08 74 08 74 08 74 6f 08 6f 08 6f 08 6f 6d 08 6d ┆ w w w wc c c ct t t to o o om m┆ 0x03e0…0400 08 6d 08 6d 62 08 62 08 62 08 62 28 08 28 08 28 08 28 73 08 73 08 73 08 73 2c 08 2c 08 2c 08 2c ┆ m mb b b b( ( ( (s s s s, , , ,┆ 0x0400…0420 20 77 08 77 08 77 08 77 63 08 63 08 63 08 63 68 08 68 08 68 08 68 61 08 61 08 61 08 61 72 08 72 ┆ w w w wc c c ch h h ha a a ar r┆ 0x0420…0440 08 72 08 72 29 08 29 08 29 08 29 0a 20 20 20 20 20 63 08 63 08 63 08 63 68 08 68 08 68 08 68 61 ┆ r r) ) ) ) c c c ch h h ha┆ 0x0440…0460 08 61 08 61 08 61 72 08 72 08 72 08 72 20 2a 08 2a 08 2a 08 2a 73 08 73 08 73 08 73 3b 08 3b 08 ┆ a a ar r r r * * * *s s s s; ; ┆ 0x0460…0480 3b 08 3b 0a 20 20 20 20 20 77 08 77 08 77 08 77 63 08 63 08 63 08 63 68 08 68 08 68 08 68 61 08 ┆; ; w w w wc c c ch h h ha ┆ 0x0480…04a0 61 08 61 08 61 72 08 72 08 72 08 72 5f 08 5f 08 5f 08 5f 74 08 74 08 74 08 74 20 77 08 77 08 77 ┆a a ar r r r_ _ _ _t t t t w w w┆ 0x04a0…04c0 08 77 63 08 63 08 63 08 63 68 08 68 08 68 08 68 61 08 61 08 61 08 61 72 08 72 08 72 08 72 3b 08 ┆ wc c c ch h h ha a a ar r r r; ┆ 0x04c0…04e0 3b 08 3b 08 3b 0a 0a 44 08 44 08 44 08 44 45 08 45 08 45 08 45 53 08 53 08 53 08 53 43 08 43 08 ┆; ; ; D D D DE E E ES S S SC C ┆ 0x04e0…0500 43 08 43 52 08 52 08 52 08 52 49 08 49 08 49 08 49 50 08 50 08 50 08 50 54 08 54 08 54 08 54 49 ┆C CR R R RI I I IP P P PT T T TI┆ 0x0500…0520 08 49 08 49 08 49 4f 08 4f 08 4f 08 4f 4e 08 4e 08 4e 08 4e 0a 20 20 20 20 20 4d 75 6c 74 69 62 ┆ I I IO O O ON N N N Multib┆ 0x0520…0540 79 74 65 20 63 68 61 72 61 63 74 65 72 73 20 61 72 65 20 75 73 65 64 20 74 6f 20 72 65 70 72 65 ┆yte characters are used to repre┆ 0x0540…0560 73 65 6e 74 20 63 68 61 72 61 63 74 65 72 73 20 69 6e 20 61 6e 0a 20 20 20 20 20 65 78 74 65 6e ┆sent characters in an exten┆ 0x0560…0580 64 65 64 20 63 68 61 72 61 63 74 65 72 20 73 65 74 2e 20 20 54 68 69 73 20 69 73 20 6e 65 65 64 ┆ded character set. This is need┆ 0x0580…05a0 65 64 20 66 6f 72 20 6c 6f 63 61 6c 65 73 20 77 68 65 72 65 20 38 0a 20 20 20 20 20 62 69 74 73 ┆ed for locales where 8 bits┆ 0x05a0…05c0 20 61 72 65 20 6e 6f 74 20 65 6e 6f 75 67 68 20 74 6f 20 72 65 70 72 65 73 65 6e 74 20 61 6c 6c ┆ are not enough to represent all┆ 0x05c0…05e0 20 74 68 65 20 63 68 61 72 61 63 74 65 72 73 20 69 6e 20 74 68 65 0a 20 20 20 20 20 63 68 61 72 ┆ the characters in the char┆ 0x05e0…0600 61 63 74 65 72 20 73 65 74 2e 0a 0a 20 20 20 20 20 54 68 65 20 6d 75 6c 74 69 62 79 74 65 20 63 ┆acter set. The multibyte c┆ 0x0600…0620 68 61 72 61 63 74 65 72 20 68 61 6e 64 6c 69 6e 67 20 66 75 6e 63 74 69 6f 6e 73 20 70 72 6f 76 ┆haracter handling functions prov┆ 0x0620…0640 69 64 65 20 74 68 65 20 6d 65 61 6e 73 0a 20 20 20 20 20 6f 66 20 74 72 61 6e 73 6c 61 74 69 6e ┆ide the means of translatin┆ 0x0640…0660 67 20 6d 75 6c 74 69 62 79 74 65 20 63 68 61 72 61 63 74 65 72 73 20 69 6e 74 6f 20 77 69 64 65 ┆g multibyte characters into wide┆ 0x0660…0680 20 63 68 61 72 61 63 74 65 72 73 20 61 6e 64 0a 20 20 20 20 20 62 61 63 6b 20 61 67 61 69 6e 2e ┆ characters and back again.┆ 0x0680…06a0 20 20 57 69 64 65 20 63 68 61 72 61 63 74 65 72 73 20 68 61 76 65 20 74 79 70 65 20 77 08 77 08 ┆ Wide characters have type w w ┆ 0x06a0…06c0 77 08 77 63 08 63 08 63 08 63 68 08 68 08 68 08 68 61 08 61 08 61 08 61 72 08 72 08 72 08 72 5f ┆w wc c c ch h h ha a a ar r r r_┆ 0x06c0…06e0 08 5f 08 5f 08 5f 74 08 74 08 74 08 74 20 28 64 65 66 69 6e 65 64 20 69 6e 0a 20 20 20 20 20 3c ┆ _ _ _t t t t (defined in <┆ 0x06e0…0700 08 3c 08 3c 08 3c 73 08 73 08 73 08 73 74 08 74 08 74 08 74 64 08 64 08 64 08 64 6c 08 6c 08 6c ┆ < < <s s s st t t td d d dl l l┆ 0x0700…0720 08 6c 69 08 69 08 69 08 69 62 08 62 08 62 08 62 2e 08 2e 08 2e 08 2e 68 08 68 08 68 08 68 3e 08 ┆ li i i ib b b b. . . .h h h h> ┆ 0x0720…0740 3e 08 3e 08 3e 29 2c 20 77 68 69 63 68 20 69 73 20 61 6e 20 69 6e 74 65 67 72 61 6c 20 74 79 70 ┆> > >), which is an integral typ┆ 0x0740…0760 65 20 77 68 6f 73 65 20 72 61 6e 67 65 20 6f 66 20 76 61 6c 75 65 73 0a 20 20 20 20 20 63 61 6e ┆e whose range of values can┆ 0x0760…0780 20 72 65 70 72 65 73 65 6e 74 20 64 69 73 74 69 6e 63 74 20 63 6f 64 65 73 20 66 6f 72 20 61 6c ┆ represent distinct codes for al┆ 0x0780…07a0 6c 20 6d 65 6d 62 65 72 73 20 6f 66 20 74 68 65 20 6c 61 72 67 65 73 74 0a 20 20 20 20 20 65 78 ┆l members of the largest ex┆ 0x07a0…07c0 74 65 6e 64 65 64 20 63 68 61 72 61 63 74 65 72 20 73 65 74 20 73 70 65 63 69 66 69 65 64 20 61 ┆tended character set specified a┆ 0x07c0…07e0 6d 6f 6e 67 20 74 68 65 20 73 75 70 70 6f 72 74 65 64 0a 20 20 20 20 20 6c 6f 63 61 6c 65 73 2e ┆mong the supported locales.┆ 0x07e0…0800 0a 0a 20 20 20 20 20 41 20 6d 61 78 69 6d 75 6d 20 6f 66 20 33 20 65 78 74 65 6e 64 65 64 20 63 ┆ A maximum of 3 extended c┆ 0x0800…0820 68 61 72 61 63 74 65 72 20 73 65 74 73 20 61 72 65 20 73 75 70 70 6f 72 74 65 64 20 66 6f 72 0a ┆haracter sets are supported for ┆ 0x0820…0840 20 20 20 20 20 65 61 63 68 20 6c 6f 63 61 6c 65 2e 20 20 54 68 65 20 6e 75 6d 62 65 72 20 6f 66 ┆ each locale. The number of┆ 0x0840…0860 20 62 79 74 65 73 20 69 6e 20 61 6e 20 65 78 74 65 6e 64 65 64 20 63 68 61 72 61 63 74 65 72 0a ┆ bytes in an extended character ┆ 0x0860…0880 20 20 20 20 20 73 65 74 20 69 73 20 64 65 66 69 6e 65 64 20 62 79 20 74 68 65 20 4c 43 5f 43 54 ┆ set is defined by the LC_CT┆ 0x0880…08a0 59 50 45 20 63 61 74 65 67 6f 72 79 20 6f 66 20 74 68 65 20 6c 6f 63 61 6c 65 2e 20 20 48 6f 77 ┆YPE category of the locale. How┆ 0x08a0…08c0 2d 0a 20 20 20 20 20 65 76 65 72 2c 20 74 68 65 20 6d 61 78 69 6d 75 6d 20 6e 75 6d 62 65 72 20 ┆- ever, the maximum number ┆ 0x08c0…08e0 6f 66 20 62 79 74 65 73 20 69 6e 20 61 6e 79 20 6d 75 6c 74 69 62 79 74 65 20 63 68 61 72 61 63 ┆of bytes in any multibyte charac┆ 0x08e0…0900 74 65 72 0a 20 20 20 20 20 77 69 6c 6c 20 6e 65 76 65 72 20 62 65 20 67 72 65 61 74 65 72 20 74 ┆ter will never be greater t┆ 0x0900…0920 68 61 6e 20 4d 42 5f 4c 45 4e 5f 4d 41 58 2e 20 77 68 69 63 68 20 69 73 20 64 65 66 69 6e 65 64 ┆han MB_LEN_MAX. which is defined┆ 0x0920…0940 20 69 6e 0a 20 20 20 20 20 3c 08 3c 08 3c 08 3c 73 08 73 08 73 08 73 74 08 74 08 74 08 74 64 08 ┆ in < < < <s s s st t t td ┆ 0x0940…0960 64 08 64 08 64 6c 08 6c 08 6c 08 6c 69 08 69 08 69 08 69 62 08 62 08 62 08 62 2e 08 2e 08 2e 08 ┆d d dl l l li i i ib b b b. . . ┆ 0x0960…0980 2e 68 08 68 08 68 08 68 3e 08 3e 08 3e 08 3e 2e 20 20 54 68 65 20 6d 61 78 69 6d 75 6d 20 6e 75 ┆.h h h h> > > >. The maximum nu┆ 0x0980…09a0 6d 62 65 72 20 6f 66 20 62 79 74 65 73 20 69 6e 20 61 20 63 68 61 72 61 63 74 65 72 20 69 6e 0a ┆mber of bytes in a character in ┆ 0x09a0…09c0 20 20 20 20 20 61 6e 20 65 78 74 65 6e 64 65 64 20 63 68 61 72 61 63 74 65 72 20 73 65 74 20 69 ┆ an extended character set i┆ 0x09c0…09e0 6e 20 74 68 65 20 5f 08 63 5f 08 75 5f 08 72 5f 08 72 5f 08 65 5f 08 6e 5f 08 74 20 6c 6f 63 61 ┆n the _ c_ u_ r_ r_ e_ n_ t loca┆ 0x09e0…0a00 6c 65 20 69 73 20 67 69 76 65 6e 20 62 79 0a 20 20 20 20 20 74 68 65 20 6d 61 63 72 6f 2c 20 4d ┆le is given by the macro, M┆ 0x0a00…0a20 42 5f 43 55 52 5f 4d 41 58 2c 20 61 6c 73 6f 20 64 65 66 69 6e 65 64 20 69 6e 20 3c 08 3c 08 3c ┆B_CUR_MAX, also defined in < < <┆ 0x0a20…0a40 08 3c 73 08 73 08 73 08 73 74 08 74 08 74 08 74 64 08 64 08 64 08 64 6c 08 6c 08 6c 08 6c 69 08 ┆ <s s s st t t td d d dl l l li ┆ 0x0a40…0a60 69 08 69 08 69 62 08 62 08 62 08 62 2e 08 2e 08 2e 08 2e 68 08 68 08 68 08 68 3e 08 3e 08 3e 08 ┆i i ib b b b. . . .h h h h> > > ┆ 0x0a60…0a80 3e 2e 0a 0a 20 20 20 20 20 5f 08 6d 5f 08 62 5f 08 74 5f 08 6f 5f 08 77 5f 08 63 20 64 65 74 65 ┆>. _ m_ b_ t_ o_ w_ c dete┆ 0x0a80…0aa0 72 6d 69 6e 65 73 20 74 68 65 20 6e 75 6d 62 65 72 20 6f 66 20 62 79 74 65 73 20 74 68 61 74 20 ┆rmines the number of bytes that ┆ 0x0aa0…0ac0 63 6f 6d 70 72 69 73 65 20 74 68 65 20 6d 75 6c 2d 0a 20 20 20 20 20 74 69 62 79 74 65 20 63 68 ┆comprise the mul- tibyte ch┆ 0x0ac0…0ae0 61 72 61 63 74 65 72 20 70 6f 69 6e 74 65 64 20 74 6f 20 62 79 20 5f 08 73 2e 20 41 6c 73 6f 2c ┆aracter pointed to by _ s. Also,┆ 0x0ae0…0b00 20 69 66 20 5f 08 70 5f 08 77 5f 08 63 20 69 73 20 6e 6f 74 20 61 20 6e 75 6c 6c 0a 20 20 20 20 ┆ if _ p_ w_ c is not a null ┆ 0x0b00…0b20 20 70 6f 69 6e 74 65 72 2c 20 5f 08 6d 5f 08 62 5f 08 74 5f 08 6f 5f 08 77 5f 08 63 20 63 6f 6e ┆ pointer, _ m_ b_ t_ o_ w_ c con┆ 0x0b20…0b40 76 65 72 74 73 20 74 68 65 20 6d 75 6c 74 69 62 79 74 65 20 63 68 61 72 61 63 74 65 72 20 74 6f ┆verts the multibyte character to┆ 0x0b40…0b60 20 61 20 77 69 64 65 0a 20 20 20 20 20 63 68 61 72 61 63 74 65 72 20 61 6e 64 20 70 6c 61 63 65 ┆ a wide character and place┆ 0x0b60…0b80 73 20 74 68 65 20 72 65 73 75 6c 74 20 69 6e 20 74 68 65 20 6f 62 6a 65 63 74 20 70 6f 69 6e 74 ┆s the result in the object point┆ 0x0b80…0ba0 65 64 20 74 6f 20 62 79 0a 20 20 20 20 20 5f 08 70 5f 08 77 5f 08 63 2e 20 28 54 68 65 20 76 61 ┆ed to by _ p_ w_ c. (The va┆ 0x0ba0…0bc0 6c 75 65 20 6f 66 20 74 68 65 20 77 69 64 65 20 63 68 61 72 61 63 74 65 72 20 63 6f 72 72 65 73 ┆lue of the wide character corres┆ 0x0bc0…0be0 70 6f 6e 64 69 6e 67 20 74 6f 20 74 68 65 0a 20 20 20 20 20 6e 75 6c 6c 20 63 68 61 72 61 63 74 ┆ponding to the null charact┆ 0x0be0…0c00 65 72 20 69 73 20 7a 65 72 6f 2e 29 20 41 74 20 6d 6f 73 74 20 5f 08 6e 20 63 68 61 72 61 63 74 ┆er is zero.) At most _ n charact┆ 0x0c00…0c20 65 72 73 20 77 69 6c 6c 20 62 65 20 65 78 61 6d 2d 0a 20 20 20 20 20 69 6e 65 64 2c 20 73 74 61 ┆ers will be exam- ined, sta┆ 0x0c20…0c40 72 74 69 6e 67 20 61 74 20 74 68 65 20 63 68 61 72 61 63 74 65 72 20 70 6f 69 6e 74 65 64 20 74 ┆rting at the character pointed t┆ 0x0c40…0c60 6f 20 62 79 20 5f 08 73 2e 0a 0a 20 20 20 20 20 49 66 20 5f 08 73 20 69 73 20 61 20 6e 75 6c 6c ┆o by _ s. If _ s is a null┆ 0x0c60…0c80 20 70 6f 69 6e 74 65 72 2c 20 5f 08 6d 5f 08 62 5f 08 74 5f 08 6f 5f 08 77 5f 08 63 20 73 69 6d ┆ pointer, _ m_ b_ t_ o_ w_ c sim┆ 0x0c80…0ca0 70 6c 79 20 72 65 74 75 72 6e 73 20 30 2e 20 20 49 66 20 5f 08 73 20 69 73 0a 20 20 20 20 20 6e ┆ply returns 0. If _ s is n┆ 0x0ca0…0cc0 6f 74 20 61 20 6e 75 6c 6c 20 70 6f 69 6e 74 65 72 2c 20 74 68 65 6e 2c 20 69 66 20 5f 08 73 20 ┆ot a null pointer, then, if _ s ┆ 0x0cc0…0ce0 70 6f 69 6e 74 73 20 74 6f 20 74 68 65 20 6e 75 6c 6c 20 63 68 61 72 61 63 74 65 72 2c 0a 20 20 ┆points to the null character, ┆ 0x0ce0…0d00 20 20 20 5f 08 6d 5f 08 62 5f 08 74 5f 08 6f 5f 08 77 5f 08 63 20 72 65 74 75 72 6e 73 20 30 3b ┆ _ m_ b_ t_ o_ w_ c returns 0;┆ 0x0d00…0d20 20 69 66 20 74 68 65 20 6e 65 78 74 20 5f 08 6e 20 6f 72 20 66 65 77 65 72 20 62 79 74 65 73 20 ┆ if the next _ n or fewer bytes ┆ 0x0d20…0d40 66 6f 72 6d 20 61 20 76 61 6c 69 64 0a 20 20 20 20 20 6d 75 6c 74 69 62 79 74 65 20 63 68 61 72 ┆form a valid multibyte char┆ 0x0d40…0d60 61 63 74 65 72 2c 20 5f 08 6d 5f 08 62 5f 08 74 5f 08 6f 5f 08 77 5f 08 63 20 72 65 74 75 72 6e ┆acter, _ m_ b_ t_ o_ w_ c return┆ 0x0d60…0d80 73 20 74 68 65 20 6e 75 6d 62 65 72 20 6f 66 20 62 79 74 65 73 20 74 68 61 74 0a 20 20 20 20 20 ┆s the number of bytes that ┆ 0x0d80…0da0 63 6f 6d 70 72 69 73 65 20 74 68 65 20 63 6f 6e 76 65 72 74 65 64 20 6d 75 6c 74 69 62 79 74 65 ┆comprise the converted multibyte┆ 0x0da0…0dc0 20 63 68 61 72 61 63 74 65 72 3b 20 6f 74 68 65 72 77 69 73 65 2c 20 5f 08 73 0a 20 20 20 20 20 ┆ character; otherwise, _ s ┆ 0x0dc0…0de0 64 6f 65 73 20 6e 6f 74 20 70 6f 69 6e 74 20 74 6f 20 61 20 76 61 6c 69 64 20 6d 75 6c 74 69 62 ┆does not point to a valid multib┆ 0x0de0…0e00 79 74 65 20 63 68 61 72 61 63 74 65 72 20 61 6e 64 20 5f 08 6d 5f 08 62 5f 08 74 5f 08 6f 5f 08 ┆yte character and _ m_ b_ t_ o_ ┆ 0x0e00…0e20 77 5f 08 63 0a 20 20 20 20 20 72 65 74 75 72 6e 73 20 2d 31 2e 0a 0a 0a 0a 0a 0a 0a 0a 0a 20 20 ┆w_ c returns -1. ┆ 0x0e20…0e40 20 20 20 5f 08 6d 5f 08 62 5f 08 6c 5f 08 65 5f 08 6e 20 64 65 74 65 72 6d 69 6e 65 73 20 74 68 ┆ _ m_ b_ l_ e_ n determines th┆ 0x0e40…0e60 65 20 6e 75 6d 62 65 72 20 6f 66 20 62 79 74 65 73 20 63 6f 6d 70 72 69 73 69 6e 67 20 74 68 65 ┆e number of bytes comprising the┆ 0x0e60…0e80 20 6d 75 6c 74 69 2d 0a 20 20 20 20 20 62 79 74 65 20 63 68 61 72 61 63 74 65 72 20 70 6f 69 6e ┆ multi- byte character poin┆ 0x0e80…0ea0 74 65 64 20 74 6f 20 62 79 20 5f 08 73 2e 20 20 49 74 20 69 73 20 65 71 75 69 76 61 6c 65 6e 74 ┆ted to by _ s. It is equivalent┆ 0x0ea0…0ec0 20 74 6f 0a 0a 20 20 20 20 20 20 20 20 20 20 6d 62 74 6f 77 63 20 28 28 77 63 68 61 72 5f 74 20 ┆ to mbtowc ((wchar_t ┆ 0x0ec0…0ee0 2a 29 30 2c 20 73 2c 20 6e 29 3b 0a 0a 20 20 20 20 20 5f 08 77 5f 08 63 5f 08 74 5f 08 6f 5f 08 ┆*)0, s, n); _ w_ c_ t_ o_ ┆ 0x0ee0…0f00 6d 5f 08 62 20 64 65 74 65 72 6d 69 6e 65 73 20 74 68 65 20 6e 75 6d 62 65 72 20 6f 66 20 62 79 ┆m_ b determines the number of by┆ 0x0f00…0f20 74 65 73 20 6e 65 65 64 65 64 20 74 6f 20 72 65 70 72 65 73 65 6e 74 0a 20 20 20 20 20 74 68 65 ┆tes needed to represent the┆ 0x0f20…0f40 20 6d 75 6c 74 69 62 79 74 65 20 63 68 61 72 61 63 74 65 72 20 63 6f 72 72 65 73 70 6f 6e 64 69 ┆ multibyte character correspondi┆ 0x0f40…0f60 6e 67 20 74 6f 20 74 68 65 20 63 6f 64 65 20 77 68 6f 73 65 0a 20 20 20 20 20 76 61 6c 75 65 20 ┆ng to the code whose value ┆ 0x0f60…0f80 69 73 20 5f 08 77 5f 08 63 5f 08 68 5f 08 61 5f 08 72 2c 20 61 6e 64 2c 20 69 66 20 5f 08 73 20 ┆is _ w_ c_ h_ a_ r, and, if _ s ┆ 0x0f80…0fa0 69 73 20 6e 6f 74 20 61 20 6e 75 6c 6c 20 70 6f 69 6e 74 65 72 2c 20 73 74 6f 72 65 73 20 74 68 ┆is not a null pointer, stores th┆ 0x0fa0…0fc0 65 0a 20 20 20 20 20 6d 75 6c 74 69 62 79 74 65 20 63 68 61 72 61 63 74 65 72 20 72 65 70 72 65 ┆e multibyte character repre┆ 0x0fc0…0fe0 73 65 6e 74 61 74 69 6f 6e 20 69 6e 20 74 68 65 20 61 72 72 61 79 20 70 6f 69 6e 74 65 64 20 74 ┆sentation in the array pointed t┆ 0x0fe0…1000 6f 0a 20 20 20 20 20 62 79 20 5f 08 73 2e 20 20 41 74 20 6d 6f 73 74 20 4d 42 5f 43 55 52 5f 4d ┆o by _ s. At most MB_CUR_M┆ 0x1000…1020 41 58 20 63 68 61 72 61 63 74 65 72 73 20 61 72 65 20 73 74 6f 72 65 64 2e 0a 0a 20 20 20 20 20 ┆AX characters are stored. ┆ 0x1020…1040 49 66 20 5f 08 73 20 69 73 20 61 20 6e 75 6c 6c 20 70 6f 69 6e 74 65 72 2c 20 5f 08 77 5f 08 63 ┆If _ s is a null pointer, _ w_ c┆ 0x1040…1060 5f 08 74 5f 08 6f 5f 08 6d 5f 08 62 20 73 69 6d 70 6c 79 20 72 65 74 75 72 6e 73 20 30 2e 20 20 ┆_ t_ o_ m_ b simply returns 0. ┆ 0x1060…1080 49 66 20 5f 08 73 20 69 73 0a 20 20 20 20 20 6e 6f 74 20 61 20 6e 75 6c 6c 20 70 6f 69 6e 74 65 ┆If _ s is not a null pointe┆ 0x1080…10a0 72 2c 20 5f 08 77 5f 08 63 5f 08 74 5f 08 6f 5f 08 6d 5f 08 62 20 72 65 74 75 72 6e 73 20 2d 31 ┆r, _ w_ c_ t_ o_ m_ b returns -1┆ 0x10a0…10c0 20 69 66 20 74 68 65 20 76 61 6c 75 65 20 6f 66 20 5f 08 77 5f 08 63 5f 08 68 5f 08 61 5f 08 72 ┆ if the value of _ w_ c_ h_ a_ r┆ 0x10c0…10e0 0a 20 20 20 20 20 64 6f 65 73 20 6e 6f 74 20 63 6f 72 72 65 73 70 6f 6e 64 20 74 6f 20 61 20 76 ┆ does not correspond to a v┆ 0x10e0…1100 61 6c 69 64 20 6d 75 6c 74 69 62 79 74 65 20 63 68 61 72 61 63 74 65 72 3b 20 6f 74 68 65 72 2d ┆alid multibyte character; other-┆ 0x1100…1120 0a 20 20 20 20 20 77 69 73 65 20 69 74 20 72 65 74 75 72 6e 73 20 74 68 65 20 6e 75 6d 62 65 72 ┆ wise it returns the number┆ 0x1120…1140 20 6f 66 20 62 79 74 65 73 20 74 68 61 74 20 63 6f 6d 70 72 69 73 65 20 74 68 65 20 6d 75 6c 74 ┆ of bytes that comprise the mult┆ 0x1140…1160 69 2d 0a 20 20 20 20 20 62 79 74 65 20 63 68 61 72 61 63 74 65 72 20 63 6f 72 72 65 73 70 6f 6e ┆i- byte character correspon┆ 0x1160…1180 64 69 6e 67 20 74 6f 20 74 68 65 20 76 61 6c 75 65 20 6f 66 20 5f 08 77 5f 08 63 5f 08 68 5f 08 ┆ding to the value of _ w_ c_ h_ ┆ 0x1180…11a0 61 5f 08 72 2e 0a 0a 53 08 53 08 53 08 53 45 08 45 08 45 08 45 45 08 45 08 45 08 45 20 41 08 41 ┆a_ r. S S S SE E E EE E E E A A┆ 0x11a0…11c0 08 41 08 41 4c 08 4c 08 4c 08 4c 53 08 53 08 53 08 53 4f 08 4f 08 4f 08 4f 0a 20 20 20 20 20 4c ┆ A AL L L LS S S SO O O O L┆ 0x11c0…11e0 69 62 72 61 72 79 20 46 75 6e 63 74 69 6f 6e 73 20 28 33 29 3a 20 6d 62 73 74 72 69 6e 67 2c 20 ┆ibrary Functions (3): mbstring, ┆ 0x11e0…1200 73 65 74 6c 6f 63 61 6c 65 0a 0a 44 65 63 65 6d 62 65 72 20 31 39 39 30 20 20 20 20 20 20 20 20 ┆setlocale December 1990 ┆ 0x1200…1220 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 54 58 20 50 72 6f 67 72 61 6d 6d 65 72 ┆ TX Programmer┆ 0x1220…1240 27 73 20 52 65 66 65 72 65 6e 63 65 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a ┆'s Reference ┆ 0x1240…1254 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a ┆ ┆