File: ctype.h

package info (click to toggle)
ghdl 0.29%2Bgcc4.3.4%2Bdfsg-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 127,928 kB
  • ctags: 84,078
  • sloc: ansic: 1,016,442; ada: 102,633; makefile: 51,566; asm: 27,741; sh: 14,879; cpp: 4,767; f90: 3,583; ml: 2,485; yacc: 1,102; perl: 1,092; exp: 745; awk: 639; lex: 461; fortran: 394; pascal: 87; lisp: 59
file content (65 lines) | stat: -rw-r--r-- 1,653 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
/*  DO NOT EDIT THIS FILE.

    It has been auto-edited by fixincludes from:

	"fixinc/tests/inc/ctype.h"

    This had to be done to correct non-standard usages in the
    original, manufacturer supplied header file.  */



#if defined( HPUX10_CTYPE_DECLARATIONS1_CHECK )
#ifdef _PROTOTYPES
extern int __tolower(int);
extern int __toupper(int);
#else /* NOT _PROTOTYPES */
extern int __tolower();
extern int __toupper();
#endif /* _PROTOTYPES */

#  define _toupper(__c)         __toupper(__c)


#endif  /* HPUX10_CTYPE_DECLARATIONS1_CHECK */


#if defined( HPUX10_CTYPE_DECLARATIONS2_CHECK )
#  if defined(_SB_CTYPE_MACROS) && !defined(__lint)

#ifdef _PROTOTYPES
     extern int _isalnum(int);
     extern int _isalpha(int);
     extern int _iscntrl(int);
     extern int _isdigit(int);
     extern int _isgraph(int);
     extern int _islower(int);
     extern int _isprint(int);
     extern int _ispunct(int);
     extern int _isspace(int);
     extern int _isupper(int);
     extern int _isxdigit(int);
#  else /* not _PROTOTYPES */
     extern int _isalnum();
     extern int _isalpha();
     extern int _iscntrl();
     extern int _isdigit();
     extern int _isgraph();
     extern int _islower();
     extern int _isprint();
     extern int _ispunct();
     extern int _isspace();
     extern int _isupper();
     extern int _isxdigit();
#endif /* _PROTOTYPES */

     extern unsigned int *__SB_masks;

#endif  /* HPUX10_CTYPE_DECLARATIONS2_CHECK */


#if defined( HPUX_CTYPE_MACROS_CHECK )
: __SB_masks ? (int)__SB_masks[__alnum] & _ISCNTRL
# define isalpha(__c) (__SB_masks ? (int)__SB_masks[__c] & _IS

#endif  /* HPUX_CTYPE_MACROS_CHECK */