共用方式為


_ismbbprint _ismbbprint_l

判斷特定多位元組字元是否為列印字元。

重要

這個 API 不能用於 Windows 執行階段執行的應用程式。如需詳細資訊,請參閱 CRT 函式不支援使用 /ZW

int _ismbbprint(
   unsigned int c 
);
int _ismbbprint_l(
   unsigned int c,
   _locale_t locale
);

參數

  • c
    要測試的整數。

  • locale
    使用的地區設定。

傳回值

_ismbbprint 會傳回非零的值,如果運算式:

isprint || _ismbbkprint

否則,為 c或 0 為非零值。 _ismbbprint 在所有地區設定相關行為使用目前的地區設定。 _ismbbprint_l 相同,但是使用傳遞的地區設定。 如需詳細資訊,請參閱地區設定

需求

程序

必要的標頭檔

_ismbbprint

<mbctype.h>

_ismbbprint_l

<mbctype.h>

如需更多關於相容性的資訊,請參閱入門介紹中的 相容性 (Compatibility)

.NET Framework 對等用法

不適用。若要呼叫標準 C 函式,請使用 PInvoke。如需更多的資訊,請參閱 Platform Invoke Examples

請參閱

參考

位元組分類

_ismbb 常式