Skip to content

Commit edc99fc

Browse files
author
Colin Robertson
committed
More clarification of MS-specific
1 parent 3e69cf1 commit edc99fc

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

docs/c-runtime-library/reference/ismbblead-ismbblead-l.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ Multibyte characters consist of a lead byte followed by a trailing byte. Lead by
4646

4747
When the locale is UTF-8, **_ismbblead** and **_ismbblead_l** always return 0 (false), whether *c* is a lead byte or not.
4848

49+
**_ismbblead** and **_ismbblead_l** are Microsoft-specific, not part of the Standard C library. We don't recommend you use them where you want portable code. For Standard C compatibility, use **mbrlen** instead.
50+
4951
### Generic-text routine mappings
5052

5153
|Tchar.h routine|_UNICODE and _MBCS not defined|_MBCS defined|_UNICODE defined|
@@ -66,4 +68,5 @@ For more compatibility information, see [Compatibility](../../c-runtime-library/
6668
## See also
6769

6870
[Byte classification](../../c-runtime-library/byte-classification.md)\
69-
[_ismbb routines](../../c-runtime-library/ismbb-routines.md)
71+
[_ismbb routines](../../c-runtime-library/ismbb-routines.md)\
72+
[mbrlen](mbrlen.md)

docs/c-runtime-library/reference/mbclen-mblen-mblen-l.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ The **_mbclen** function returns the length, in bytes, of the multibyte characte
6666

6767
The output value is affected by the **LC_CTYPE** category setting of the locale. The versions of these functions without the **_l** suffix use the current locale for this locale-dependent behavior. The **_l** suffixed versions behave the same, but they use the locale parameter passed in instead. For more information, see [setlocale](setlocale-wsetlocale.md) and [Locale](../../c-runtime-library/locale.md).
6868

69-
**_mbclen**, **_mblen_l**, and **_mbclen_l** are Microsoft-specific, not part of the Standard C library. We don't recommend you use them where you want portable code. For Standard C compatibility, use **mblen** instead.
69+
**_mbclen**, **_mblen_l**, and **_mbclen_l** are Microsoft-specific, not part of the Standard C library. We don't recommend you use them where you want portable code. For Standard C compatibility, use **mblen** or **mbrlen** instead.
7070

7171
### Generic-Text Routine Mappings
7272

@@ -129,4 +129,5 @@ Length in bytes of NULL multibyte character 0: 0
129129
[Locale](../../c-runtime-library/locale.md)\
130130
[Interpretation of Multibyte-Character Sequences](../../c-runtime-library/interpretation-of-multibyte-character-sequences.md)\
131131
[_mbccpy, _mbccpy_l](mbccpy-mbccpy-l.md)\
132+
[mbrlen](mbrlen.md)\
132133
[strlen, wcslen, _mbslen, _mbslen_l, _mbstrlen, _mbstrlen_l](strlen-wcslen-mbslen-mbslen-l-mbstrlen-mbstrlen-l.md)

0 commit comments

Comments
 (0)