1 /**** BEGIN INCLUDE FILE wsttype.h */ 2 3 /* HISTORY COMMENTS: 4 1) change(87-03-13,Wallman), approve(87-03-13,MCR7586), 5 audit(87-07-16,Flegel), install(87-08-07,MR12.1-1072): 6 First release. 7 2) change(88-08-09,Lee), approve(88-05-16,MCR7897), audit(88-09-19,Flegel): 8 These defines moved from "wstdefs.h" to this separate include 9 resolve define conflict with ctype.h macros. 10 END HISTORY COMMENTS */ 11 12 #ifndef WSTTYPE 13 14 /* These macros "borrowed" from ctype.h and is here so we can use them without 15 the rest of the ctype.h macros overiding the function definitions for 16 various other is* constructs. */ 17 18 #define U 1 /* upper case flag */ 19 #define L 2 /* lower case flag */ 20 #define N 4 /* number flag */ 21 #define S 8 /* space flag */ 22 #define P 16 /* punctuation flag */ 23 #define C 32 /* control character flag */ 24 #define B 64 /* blank flag */ 25 #define X 128 /* hexadecimal flag */ 26 27 extern char _ctype[]; /* character type table */ 28 29 #define isprint(c) (_ctype[(c)+1]&(P|U|L|N|B)) 30 31 #define WSTTYPE 32 #endif WSTTYPE 33 34 /**** END INCLUDE FILE wsttype.h */