ascii.h
上传用户:liulanzhi
上传日期:2016-08-15
资源大小:56481k
文件大小:1k
- /* A S C I I . H
- * BRL-CAD
- *
- * Copyright (c) 2004-2008 United States Government as represented by
- * the U.S. Army Research Laboratory.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public License
- * version 2.1 as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this file; see the file named COPYING for more
- * information.
- */
- /** @file ascii.h
- * Author: Gary S. Moss
- */
- #define NUL ' 00'
- #define SOH ' 01'
- #define STX ' 02'
- #define INTR ' 03'
- #define EOT ' 04'
- #define ACK ' 06'
- #define BEL ' 07'
- #define BS ' 10'
- #define HT ' 11'
- #define LF ' 12'
- #define FF ' 14'
- #define CR ' 15'
- #define DLE ' 20'
- #define DC1 ' 21'
- #define DC2 ' 22'
- #define DC3 ' 23'
- #define DC4 ' 24'
- #define KILL ' 25'
- #define CAN ' 30'
- #define ESC ' 33'
- #define GS ' 35'
- #define RS ' 36'
- #define US ' 37'
- #define SP ' 40'
- #define DEL '177'
- #define Ctrl(chr) ((int)chr&037)
- /*
- * Local Variables:
- * mode: C
- * tab-width: 8
- * indent-tabs-mode: t
- * c-file-style: "stroustrup"
- * End:
- * ex: shiftwidth=4 tabstop=8
- */