ascii.h
Upload User: liulanzhi
Upload Date: 2016-08-15
Package Size: 56481k
Code Size: 1k
Category:

WinSock-NDIS

Development Platform:

Visual C++

  1. /*                         A S C I I . H
  2.  * BRL-CAD
  3.  *
  4.  * Copyright (c) 2004-2008 United States Government as represented by
  5.  * the U.S. Army Research Laboratory.
  6.  *
  7.  * This program is free software; you can redistribute it and/or
  8.  * modify it under the terms of the GNU Lesser General Public License
  9.  * version 2.1 as published by the Free Software Foundation.
  10.  *
  11.  * This program is distributed in the hope that it will be useful, but
  12.  * WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  14.  * Lesser General Public License for more details.
  15.  *
  16.  * You should have received a copy of the GNU Lesser General Public
  17.  * License along with this file; see the file named COPYING for more
  18.  * information.
  19.  */
  20. /** @file ascii.h
  21.  * Author: Gary S. Moss
  22.  */
  23. #define NUL '00'
  24. #define SOH '01'
  25. #define STX '02'
  26. #define INTR '03'
  27. #define EOT '04'
  28. #define ACK '06'
  29. #define BEL '07'
  30. #define BS '10'
  31. #define HT '11'
  32. #define LF '12'
  33. #define FF '14'
  34. #define CR '15'
  35. #define DLE '20'
  36. #define DC1 '21'
  37. #define DC2 '22'
  38. #define DC3 '23'
  39. #define DC4 '24'
  40. #define KILL '25'
  41. #define CAN '30'
  42. #define ESC '33'
  43. #define GS '35'
  44. #define RS '36'
  45. #define US '37'
  46. #define SP '40'
  47. #define DEL '177'
  48. #define Ctrl(chr) ((int)chr&037)
  49. /*
  50.  * Local Variables:
  51.  * mode: C
  52.  * tab-width: 8
  53.  * indent-tabs-mode: t
  54.  * c-file-style: "stroustrup"
  55.  * End:
  56.  * ex: shiftwidth=4 tabstop=8
  57.  */