| description |
Learn more about: strnicmp, wcsnicmp |
| title |
strnicmp, wcsnicmp |
| ms.date |
12/16/2019 |
| api_name |
|
| api_location |
msvcrt.dll |
msvcr80.dll |
msvcr90.dll |
msvcr100.dll |
msvcr100_clr0400.dll |
msvcr110.dll |
msvcr110_clr0400.dll |
msvcr120.dll |
msvcr120_clr0400.dll |
ucrtbase.dll |
|
| api_type |
|
| topic_type |
|
| f1_keywords |
|
| helpviewer_keywords |
strnicmp function |
wcsnicmp function |
|
| ms.assetid |
01324ee4-0bd9-43e9-b2a3-53d180270a64 |
The Microsoft-specific function names strnicmp and wcsnicmp are deprecated aliases for the _strnicmp and _wcsnicmp functions. By default, they generate Compiler warning (level 3) C4996. The names are deprecated because they don't follow the Standard C rules for implementation-specific names. However, the functions are still supported.
We recommend you use _strnicmp and _wcsnicmp instead. Or, you can continue to use these function names, and disable the warning. For more information, see Turn off the warning and POSIX function names.