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

VxWorks

开发平台:

C/C++

  1. /* ctypeLibInit.c - ctype library initialization */
  2. /* Copyright 1992 Wind River Systems, Inc. */
  3. /*
  4. modification history
  5. --------------------
  6. 01a,07sep92,smb  written.
  7. */
  8. /*
  9. DESCRIPTION
  10. This file is used to include the ctype ANSI C library routines in the 
  11. VxWorks build. The routines are only included when this file is 
  12. included by usrConfig.c.
  13. NOMANUAL
  14. */
  15. #ifndef  __INCctypeLibInitc 
  16. #define  __INCctypeLibInitc 
  17. #include "vxWorks.h"
  18. #include "ctype.h"
  19. #undef isalnum /* #undef needed for the MIPS compiler */
  20. #undef isalpha
  21. #undef iscntrl
  22. #undef isdigit
  23. #undef isgraph
  24. #undef islower
  25. #undef isprint
  26. #undef ispunct
  27. #undef isspace
  28. #undef isupper
  29. #undef isxdigit
  30. #undef tolower
  31. #undef toupper
  32. VOIDFUNCPTR ctypeFiles[] =
  33.     {
  34.     (VOIDFUNCPTR) isalnum,
  35.     (VOIDFUNCPTR) isalpha,
  36.     (VOIDFUNCPTR) iscntrl,
  37.     (VOIDFUNCPTR) isdigit,
  38.     (VOIDFUNCPTR) isgraph,
  39.     (VOIDFUNCPTR) islower,
  40.     (VOIDFUNCPTR) isprint,
  41.     (VOIDFUNCPTR) ispunct,
  42.     (VOIDFUNCPTR) isspace,
  43.     (VOIDFUNCPTR) isupper,
  44.     (VOIDFUNCPTR) isxdigit,
  45.     (VOIDFUNCPTR) tolower,
  46.     (VOIDFUNCPTR) toupper
  47.     };
  48. #endif /* __INCctypeLibInitc */