📄 vecttbl.lst
字号:
124 #endif
125 #ifdef EIOBFRSM
126 X #define EIOBFRSM 2121 /* _iob semaphore free error */
127 #endif
128
129
130 /* I/O flags for _ioflag1 */
131 #define _IOREAD 1 /* only read or update read */
132 #define _IOWRITE 2 /* only write or update write */
133 #define _IORW 4 /* update file */
134 #define _IOUNBUF 8 /* unbffering I/O */
135 #define _IOBGBUF 16 /* automatic buffer allocate */
136 #define _IOEOF 32 /* end of file */
137 #define _IOERR 64 /* I/O error */
138 #define _IOBIN 128 /* binaly file */
139 #define _UNGTC 1 /* ungetc issued (_ioflag2) */
140 #define _IOLINBUF 2 /* line buffering */
141
142 #define EOF (-1)
143 #define _EOL (0x0A) /* end of line */
144
145 #define stdin (&_iob[0]) /* standard input file */
146 #define stdout (&_iob[1]) /* standard output file */
147 #define stderr (&_iob[2]) /* standard error output file */
148
149 #define getchar() getc(stdin)
150 #define putchar(x) putc(x,stdout)
151 #define feof(fp) ((fp)->_ioflag1&_IOEOF)
152 #define ferror(fp) ((fp)->_ioflag1&_IOERR)
153 #define clearerr(fp) ((void)((fp)->_ioflag1&=~(_IOEOF|_IOERR)))
154 #endif
155
156 #endif /* _STDIO_H */
FILE NAME: E:\Study\ucOS-II\ucOS-II\PLATFORM\Public\includes.h
23 #include <stdlib.h>
FILE NAME: c:\hew3\tools\renesas\h8\6_1_2\include\stdlib.h
1 /*--------------------------------------------------------------------*/
2 /* H8S,H8/300 SERIES C/C++ Compiler V.6.01 */
3 /* Copyright (C) 1994,2003 Renesas Technology Corp. and */
4 /* Renesas Solutions Corp. */
5 /* Copyright (C) 2000,2003 Hitachi, Ltd. */
6 /* All rights reserved. */
7 /*--------------------------------------------------------------------*/
8
9 #ifndef _STDLIB_H
10 #define _STDLIB_H
11
12 #include <stddef.h>
13
14 #pragma pack 2
15 typedef struct {int quot; int rem;} div_t ;
16 typedef struct {long quot; long rem;} ldiv_t ;
17 #pragma unpack
18
19 #define RAND_MAX 32767
20 #ifndef ERANGE
21 #define ERANGE 1100
22 #endif
23 #ifndef EDOM
24 #define EDOM 1101
25 #endif
26 #ifndef EDIV
27 #define EDIV 1102
28 #endif
29 #ifndef ESTRN
30 #define ESTRN 1104
31 #endif
32 #ifndef ECBASE
33 #define ECBASE 1200
34 #endif
35 #ifndef ETLN
36 #define ETLN 1202
37 #endif
38 #ifndef EEXP
39 #define EEXP 1204
40 #endif
41 #ifndef EEXPN
42 #define EEXPN 1206
43 #endif
44 #ifndef EFLOATO
45 #define EFLOATO 1210
46 #endif
47 #ifndef EFLOATU
48 #define EFLOATU 1220
49 #endif
50 #ifndef EOVER
51 #define EOVER 1230
52 #endif
53 #ifndef EUNDER
54 #define EUNDER 1240
55 #endif
56
57 #ifndef EMALRESM
58 X #define EMALRESM 2100
59 #endif
60 #ifdef EMALFRSM
61 X #define EMALFRSM 2101
62 #endif
63
64 #ifndef HUGE_VAL
65 #ifdef __FLT__
66 X extern const float _HUGE_VALF;
67 X #define HUGE_VAL _HUGE_VALF
68 #else
69 extern const double _HUGE_VAL;
70 #define HUGE_VAL _HUGE_VAL
71 #endif
72 #endif
73
74 extern const size_t _sbrk_size;
75
76 #ifdef __cplusplus
77 X extern "C" {
78 #endif
79
80 #ifndef errno
81 X #ifdef _REENTRANT
82 X extern int *errno_addr(void);
83 X #define errno (*errno_addr())
84 X #else
85 X extern volatile int _errno;
86 X #define errno _errno
87 X #endif
88 #endif
89
90 extern double atof(const char *) ;
91 extern int atoi(const char *) ;
92 extern long int atol(const char *) ;
93 extern double strtod(const char *, char **) ;
94 extern long int strtol(const char *, char **, int);
95 extern unsigned long int strtoul(const char *, char **, int);
96 extern int rand(void) ;
97 extern void srand(unsigned int);
98 extern void *calloc(size_t, size_t);
99 extern void free(void *) ;
100 extern void *malloc(size_t);
101 extern void *realloc(void *, size_t) ;
102 extern void *bsearch(const void *, const void *, size_t, size_t,
103 int(*)(const void*,const void*) ) ;
104 extern void qsort(void *, size_t, size_t,
105 int(*)(const void*,const void*) );
106 extern int abs(int);
107 extern div_t div(int, int);
108 extern long int labs(long int);
109 extern ldiv_t ldiv(long int, long int);
110 #ifdef __cplusplus
111 X }
112 #endif
113
114 #endif /* _STDLIB_H */
FILE NAME: E:\Study\ucOS-II\ucOS-II\PLATFORM\Public\includes.h
24 #include <string.h>
FILE NAME: c:\hew3\tools\renesas\h8\6_1_2\include\string.h
1 /*-----------------------------------------------------------------------*/
2 /* H8S,H8/300 SERIES C/C++ Compiler Ver. 6.0 */
3 /* Copyright (C) 1994,2002, Renesas Technology Corp. */
4 /* All Rights Reserved. */
5 /*-----------------------------------------------------------------------*/
6
7 #ifndef _STRING_H
8 #define _STRING_H
9
10 #include <stddef.h>
11
12 #ifdef __cplusplus
13 X extern "C" {
14 #endif
15 extern void *memcpy(void *, const void *, size_t);
16 extern void *memmove(void *, const void *, size_t);
17 extern char *strcpy(char *, const char *);
18 extern char *strncpy(char *, const char *, size_t);
19 extern char *strcat(char *, const char *);
20 extern char *strncat(char *, const char *,size_t);
21 extern int memcmp(const void *, const void *,size_t);
22 extern int strcmp(const char *, const char *);
23 extern int strncmp(const char *, const char *, size_t);
24 extern void *memchr(const void *, int, size_t);
25 extern char *strchr(const char *, int);
26 extern size_t strcspn(const char *, const char *);
27 extern char *strpbrk(const char *, const char *);
28 extern char *strrchr(const char *, int);
29 extern size_t strspn(const char *, const char *);
30 extern char *strstr(const char *, const char *);
31 extern char *strtok(char *, const char *);
32 extern void *memset(void *, int, size_t);
33 extern char *strerror(int);
34 extern size_t strlen(const char *);
35
36 #ifdef __INTRINSIC_LIB__
37 X extern void *_builtin_memcpy(void *, const void *, size_t);
38 X extern char *_builtin_strcpy(char *, const char *);
39 X #define memcpy(dst,src,sz) _builtin_memcpy(dst,src,sz)
40 X #define strcpy(dst,src) _builtin_strcpy(dst,src)
41 #endif
42
43 #ifdef __cplusplus
44 X }
45 #endif
46
47 #endif /* _STRING_H */
FILE NAME: E:\Study\ucOS-II\ucOS-II\PLATFORM\Public\includes.h
25 #include <ctype.h>
FILE NAME: c:\hew3\tools\renesas\h8\6_1_2\include\ctype.h
1 /*-----------------------------------------------------------------------*/
2 /* H8S,H8/300 SERIES C/C++ Compiler Ver. 6.0 */
3 /* Copyright (C) 1994,2002, Renesas Technology Corp. */
4 /* All Rights Reserved. */
5 /*-----------------------------------------------------------------------*/
6
7 #ifndef _CTYPE_H
8 #define _CTYPE_H
9
10 extern unsigned char _ctype[];
11
12 #ifdef __cplusplus
13 X extern "C" {
14 #endif
15 extern int isalnum(int);
16 extern int isalpha(int);
17 extern int iscntrl(int);
18 extern int isdigit(int);
19 extern int isgraph(int);
20 extern int islower(int);
21 extern int isprint(int);
22 extern int ispunct(int);
23 extern int isspace(int);
24 extern int isupper(int);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -