Skip to content

Latest commit

 

History

History
69 lines (67 loc) · 4.19 KB

File metadata and controls

69 lines (67 loc) · 4.19 KB
title Global Constants | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-standard-libraries
ms.tgt_pltfrm
ms.topic article
f1_keywords
c.constants
dev_langs
C++
helpviewer_keywords
global constants
ms.assetid 778d86fd-3ca6-4d2b-b4c5-aee6dc1efe6b
caps.latest.revision 10
author corob-msft
ms.author corob
manager ghogen
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

Global Constants

The Microsoft run-time library contains definitions for global constants used by library routines. To use these constants, include the appropriate header files as indicated in the description for each constant. The global constants are listed in the following table.

32-Bit Windows Time/Date Formats BUFSIZ
CLOCKS_PER_SEC, CLK_TCK Commit-To-Disk Constants
_CRT_DISABLE_PERFCRIT_LOCKS Data Type Constants
Environmental Constants EOF, WEOF
errno Constants Exception-Handling Constants
EXIT_SUCCESS, EXIT_FAILURE File Attribute Constants
File Constants File Permission Constants
File Read/Write Access Constants File Translation Constants
FILENAME_MAX FOPEN_MAX, _SYS_OPEN
_FREEENTRY, _USEDENTRY fseek, _lseek Constants
Heap Constants _HEAP_MAXREQ
HUGE_VAL, _HUGE Locale Categories
_locking Constants Math Constants
Math Error Constants _MAX_ENV
MB_CUR_MAX NULL
Path Field Limits RAND_MAX
setvbuf Constants Sharing Constants
signal Constants signal Action Constants
spawn Constants _stat Structure st_mode Field Constants
stdin, stdout, stderr TMP_MAX, L_tmpnam
Translation Mode Constants _TRUNCATE
TZNAME_MAX _WAIT_CHILD, _WAIT_GRANDCHILD
WCHAR_MAX WCHAR_MIN

See Also

C Run-Time Library Reference
Global Variables
Considerations for Writing Prolog/Epilog Code