| description |
Learn more about: cgets |
| title |
cgets |
| 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 |
|
| ms.assetid |
54faf257-5ed6-4301-be19-66d953e901fa |
The Microsoft-specific function name cgets is a deprecated alias for the _cgets function. By default, it generates Compiler warning (level 3) C4996. The name is deprecated because it doesn't follow the Standard C rules for implementation-specific names. However, the function is still supported.
We recommend you use the security-enhanced _cgets_s function instead. Or, you can continue to use this function name, and disable the warning. For more information, see Turn off the warning and POSIX function names.