vxParams.h
上传用户:luoyougen
上传日期:2008-05-12
资源大小:23136k
文件大小:2k
源码类别:

VxWorks

开发平台:

C/C++

  1. /* vxParams.h - system parameters header file */
  2. /* Copyright 1984-1992 Wind River Systems, Inc. */
  3. /*
  4. modification history
  5. --------------------
  6. 01e,22sep92,rrr  added support for c++
  7. 01d,07sep92,smb  added documentation
  8. 01c,22jul92,kdl  reduced _PARM_PATH_MAX from 511 to 255.
  9. 01b,03jul92,smb  corrected comment after #endif
  10.  modified values for _PARM_PATH_MAX and _PARM_NAME_MAX
  11. 01a,29jul91,rrr  written.
  12. */
  13. /*
  14. DESCRIPTION
  15. This file defines system parameters specified by the ANSI or POSIX
  16. specifications. The actual value are sometimes suggested by the standards
  17. but can be changed to tune the system.
  18. */
  19. #ifndef __INCvxParamsh
  20. #define __INCvxParamsh
  21. #ifdef __cplusplus
  22. extern "C" {
  23. #endif
  24. #define _PARM_BUFSIZ 1024
  25. #define _PARM_EXIT_FAILURE 1
  26. #define _PARM_EXIT_SUCCESS 0
  27. #define _PARM_FILENAME_MAX 20
  28. #define _PARM_FOPEN_MAX 20
  29. #define _PARM_L_ctermid 64
  30. #define _PARM_L_cuserid 64
  31. #define _PARM_L_tmpnam 64
  32. #define _PARM_MB_CUR_MAX 1 /* must not be greater than MB_LEN_MAX*/
  33. #define _PARM_NAME_MAX 99
  34. #define _PARM_PATH_MAX 255 /* max path length, not including EOS */
  35. #define _PARM_RAND_MAX 32767  /* as defined by the ANSI spec. */
  36. #define _PARM_TMP_MAX 64
  37. #define _PARM_UTS_MACHINE_MAX 64
  38. #define _PARM_UTS_NODENAME_MAX 64
  39. #define _PARM_UTS_RELEASE_MAX 64
  40. #define _PARM_UTS_SYSNAME_MAX 64
  41. #define _PARM_UTS_VERSION_MAX 64
  42. #define _PARM_BIG_ENDIAN 1234
  43. #define _PARM_LITTLE_ENDIAN 4321
  44. #define _PARM_STACK_GROWS_UP    1
  45. #define _PARM_STACK_GROWS_DOWN  (-1)
  46. #ifdef __cplusplus
  47. }
  48. #endif
  49. #endif /* __INCvxParamsh */