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 | Locale Categories |
| BUFSIZ | _locking Constants |
| CLOCKS_PER_SEC, CLK_TCK | Math Constants |
| Commit-To-Disk Constants | Math Error Constants |
| Data Type Constants | _MAX_ENV |
| Environmental Constants | MB_CUR_MAX |
| EOF, WEOF | NULL |
| errno | Path Field Limits |
| Exception-Handling Constants | RAND_MAX |
| EXIT_SUCCESS, EXIT_FAILURE | setvbuf Constants |
| File Attribute Constants | Sharing Constants |
| File Constants | signal Constants |
| File Permission Constants | signal Action Constants |
| File Read/Write Access Constants | _spawn Constants |
| File Translation Constants | _stat Structure st_mode Field Constants |
| FILENAME_MAX | stdin, stdout, stderr |
| FOPEN_MAX, _SYS_OPEN | TMP_MAX, L_tmpnam |
| _FREEENTRY, _USEDENTRY | Translation Mode Constants |
| fseek, _lseek | TZNAME_MAX |
| Heap Constants | _WAIT_CHILD, _WAIT_GRANDCHILD |
| _HEAP_MAXREQ | WCHAR_MAX |
| HUGE_VAL | WCHAR_MIN |
Reference
Global Variables
Considerations for Writing Prolog/Epilog Code
Other Resources
Run-Time Library Reference