|
|
1.1 ! root 1: /* chrcnv.c - character conversion table */ ! 2: ! 3: #ifndef lint ! 4: static char *rcsid = "$Header: /f/osi/compat/RCS/chrcnv.c,v 7.0 89/11/23 21:22:58 mrose Rel $"; ! 5: #endif ! 6: ! 7: /* ! 8: * $Header: /f/osi/compat/RCS/chrcnv.c,v 7.0 89/11/23 21:22:58 mrose Rel $ ! 9: * ! 10: * ! 11: * $Log: chrcnv.c,v $ ! 12: * Revision 7.0 89/11/23 21:22:58 mrose ! 13: * Release 6.0 ! 14: * ! 15: */ ! 16: ! 17: ! 18: /* ! 19: * NOTICE ! 20: * ! 21: * Acquisition, use, and distribution of this module and related ! 22: * materials are subject to the restrictions of a license agreement. ! 23: * Consult the Preface in the User's Manual for the full terms of ! 24: * this agreement. ! 25: * ! 26: */ ! 27: ! 28: ! 29: /* LINTLIBRARY */ ! 30: ! 31: #include <stdio.h> ! 32: #include "general.h" ! 33: ! 34: /* */ ! 35: ! 36: char /* character conversion table */ ! 37: chrcnv[] = /* lower to upper case letters */ ! 38: { ! 39: '\0', '\1', '\2', '\3', '\4', '\5', '\6', '\7', ! 40: '\10', '\t', '\n', '\13', '\14', '\r', '\16', '\17', ! 41: '\20', '\21', '\22', '\23', '\24', '\25', '\26', '\27', ! 42: '\30', '\31', '\32', '\33', '\34', '\35', '\36', '\37', ! 43: ' ', '!', '"', '#', '$', '%', '&', '\47', ! 44: '(', ')', '*', '+', ',', '-', '.', '/', ! 45: '0', '1', '2', '3', '4', '5', '6', '7', ! 46: '8', '9', ':', ';', '<', '=', '>', '?', ! 47: '@', 'A', 'B', 'C', 'D', 'E', 'F', 'G', ! 48: 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', ! 49: 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', ! 50: 'X', 'Y', 'Z', '[', '\\', ']', '^', '_', ! 51: '`', 'A', 'B', 'C', 'D', 'E', 'F', 'G', ! 52: 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', ! 53: 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', ! 54: 'X', 'Y', 'Z', '{', '|', '}', '~', '\177', ! 55: '\0', '\1', '\2', '\3', '\4', '\5', '\6', '\7', ! 56: '\10', '\t', '\n', '\13', '\14', '\r', '\16', '\17', ! 57: '\20', '\21', '\22', '\23', '\24', '\25', '\26', '\27', ! 58: '\30', '\31', '\32', '\33', '\34', '\35', '\36', '\37', ! 59: ' ', '!', '"', '#', '$', '%', '&', '\47', ! 60: '(', ')', '*', '+', ',', '-', '.', '/', ! 61: '0', '1', '2', '3', '4', '5', '6', '7', ! 62: '8', '9', ':', ';', '<', '=', '>', '?', ! 63: '@', 'A', 'B', 'C', 'D', 'E', 'F', 'G', ! 64: 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', ! 65: 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', ! 66: 'X', 'Y', 'Z', '[', '\\', ']', '^', '_', ! 67: '`', 'A', 'B', 'C', 'D', 'E', 'F', 'G', ! 68: 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', ! 69: 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', ! 70: 'X', 'Y', 'Z', '{', '|', '}', '~', '\177' ! 71: }; ! 72:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.