Skip to content

Latest commit

 

History

History
17 lines (15 loc) · 1.36 KB

access-crt.md

File metadata and controls

17 lines (15 loc) · 1.36 KB
description title ms.date api_name api_location api_type topic_type f1_keywords helpviewer_keywords ms.assetid
Learn more about: access (CRT)
access (CRT)
12/16/2019
access
msvcrt.dll
msvcr80.dll
msvcr90.dll
msvcr100.dll
msvcr100_clr0400.dll
msvcr110.dll
msvcr110_clr0400.dll
msvcr120.dll
msvcr120_clr0400.dll
ucrtbase.dll
DLLExport
apiref
access
CORECRT_IO/access
access function
65197793-bd0a-41c3-9c29-18de2d95d9a6

access (CRT)

The Microsoft-implemented POSIX function name access is a deprecated alias for the _access 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 _access or the security-enhanced _access_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.