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 (CRT)

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

Reference

Global Variables

Considerations for Writing Prolog/Epilog Code

Other Resources

C Run-Time Library Reference