ctype.h 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. /* DO NOT EDIT THIS FILE.
  2. It has been auto-edited by fixincludes from:
  3. "fixinc/tests/inc/ctype.h"
  4. This had to be done to correct non-standard usages in the
  5. original, manufacturer supplied header file. */
  6. #ifndef FIXINC_WRAP_CTYPE_H_AIX_EXTERNC
  7. #define FIXINC_WRAP_CTYPE_H_AIX_EXTERNC 1
  8. #ifdef __cplusplus
  9. extern "C" {
  10. #endif
  11. #if defined( AIX_EXTERNC_CHECK )
  12. extern int __n_pthreads;
  13. #endif /* AIX_EXTERNC_CHECK */
  14. #if defined( HPUX10_CTYPE_DECLARATIONS1_CHECK )
  15. #ifdef _PROTOTYPES
  16. extern int __tolower(int);
  17. extern int __toupper(int);
  18. #else /* NOT _PROTOTYPES */
  19. extern int __tolower();
  20. extern int __toupper();
  21. #endif /* _PROTOTYPES */
  22. # define _toupper(__c) __toupper(__c)
  23. #endif /* HPUX10_CTYPE_DECLARATIONS1_CHECK */
  24. #if defined( HPUX10_CTYPE_DECLARATIONS2_CHECK )
  25. # if defined(_SB_CTYPE_MACROS) && !defined(__lint)
  26. #ifdef _PROTOTYPES
  27. extern int _isalnum(int);
  28. extern int _isalpha(int);
  29. extern int _iscntrl(int);
  30. extern int _isdigit(int);
  31. extern int _isgraph(int);
  32. extern int _islower(int);
  33. extern int _isprint(int);
  34. extern int _ispunct(int);
  35. extern int _isspace(int);
  36. extern int _isupper(int);
  37. extern int _isxdigit(int);
  38. # else /* not _PROTOTYPES */
  39. extern int _isalnum();
  40. extern int _isalpha();
  41. extern int _iscntrl();
  42. extern int _isdigit();
  43. extern int _isgraph();
  44. extern int _islower();
  45. extern int _isprint();
  46. extern int _ispunct();
  47. extern int _isspace();
  48. extern int _isupper();
  49. extern int _isxdigit();
  50. #endif /* _PROTOTYPES */
  51. extern unsigned int *__SB_masks;
  52. #endif /* HPUX10_CTYPE_DECLARATIONS2_CHECK */
  53. #if defined( HPUX_CTYPE_MACROS_CHECK )
  54. : __SB_masks ? (int)__SB_masks[__alnum] & _ISCNTRL
  55. # define isalpha(__c) (__SB_masks ? (int)__SB_masks[__c] & _IS
  56. #endif /* HPUX_CTYPE_MACROS_CHECK */
  57. #ifdef __cplusplus
  58. }
  59. #endif
  60. #endif /* FIXINC_WRAP_CTYPE_H_AIX_EXTERNC */