ctypeInit.c
资源名称:ixp425BSP.rar [点击查看]
上传用户:luoyougen
上传日期:2008-05-12
资源大小:23136k
文件大小:1k
源码类别:
VxWorks
开发平台:
C/C++
- /* ctypeLibInit.c - ctype library initialization */
- /* Copyright 1992 Wind River Systems, Inc. */
- /*
- modification history
- --------------------
- 01a,07sep92,smb written.
- */
- /*
- DESCRIPTION
- This file is used to include the ctype ANSI C library routines in the
- VxWorks build. The routines are only included when this file is
- included by usrConfig.c.
- NOMANUAL
- */
- #ifndef __INCctypeLibInitc
- #define __INCctypeLibInitc
- #include "vxWorks.h"
- #include "ctype.h"
- #undef isalnum /* #undef needed for the MIPS compiler */
- #undef isalpha
- #undef iscntrl
- #undef isdigit
- #undef isgraph
- #undef islower
- #undef isprint
- #undef ispunct
- #undef isspace
- #undef isupper
- #undef isxdigit
- #undef tolower
- #undef toupper
- VOIDFUNCPTR ctypeFiles[] =
- {
- (VOIDFUNCPTR) isalnum,
- (VOIDFUNCPTR) isalpha,
- (VOIDFUNCPTR) iscntrl,
- (VOIDFUNCPTR) isdigit,
- (VOIDFUNCPTR) isgraph,
- (VOIDFUNCPTR) islower,
- (VOIDFUNCPTR) isprint,
- (VOIDFUNCPTR) ispunct,
- (VOIDFUNCPTR) isspace,
- (VOIDFUNCPTR) isupper,
- (VOIDFUNCPTR) isxdigit,
- (VOIDFUNCPTR) tolower,
- (VOIDFUNCPTR) toupper
- };
- #endif /* __INCctypeLibInitc */