home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgLangD.iso / C++-7 / DISK7 / SOURCE / STARTUP / STDLIB.IN$ / STDLIB
Encoding:
Text File  |  1991-11-06  |  1.0 KB  |  43 lines

  1. ;***
  2. ;stdlib.inc - General definitions
  3. ;
  4. ;    Copyright (c) 1990-1992, Microsoft Corporation. All rights reserved.
  5. ;
  6. ;Purpose:
  7. ;    General definitions of values required by the C runtime.
  8. ;    This is roughly analogous to STDLIB.H but not identical.
  9. ;
  10. ;*******************************************************************************
  11.  
  12. ifdef _QWIN
  13. ; maximum std file handle
  14. _MAX_STDFH   equ     2
  15. endif
  16.  
  17. ;
  18. ; Sizes for buffers used by the _makepath() and _splitpath() functions.
  19. ; Notes: (1) sizes include space for 0-terminator
  20. ;     (2) values should match those in stdlib.h
  21. ;
  22.  
  23. _MAX_PATH    equ    260    ; max. length of full pathname
  24. _MAX_DRIVE    equ    3    ; max. length of drive component
  25. _MAX_DIR    equ    256    ; max. length of path component
  26. _MAX_FNAME    equ    256    ; max. length of file name component
  27. _MAX_EXT    equ    256    ; max. length of extension component
  28.  
  29. ;
  30. ; OS mode
  31. ;
  32.  
  33. _DOS_MODE      equ    0    ; DOS
  34. _OS2_MODE      equ    1    ; OS/2
  35. _WIN_MODE      equ    2    ; Windows
  36.  
  37. ;
  38. ; CPU mode
  39. ;
  40.  
  41. _REAL_MODE     equ    0    ; real mode
  42. _PROT_MODE     equ    1    ; protect mode
  43.