boolean.h
来自「基于组件方式开发操作系统的OSKIT源代码」· C头文件 代码 · 共 35 行
H
35 行
/* * Copyright (c) 1996, 1997, 1998 The University of Utah and the Flux Group. * * This file is part of the OSKit Linux Glue Libraries, which are free * software, also known as "open source;" you can redistribute them and/or * modify them under the terms of the GNU General Public License (GPL), * version 2, as published by the Free Software Foundation (FSF). * * The OSKit 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 GPL for more details. You should have * received a copy of the GPL along with the OSKit; see the file COPYING. If * not, write to the FSF, 59 Temple Place #330, Boston, MA 02111-1307, USA. */#ifndef _LIBC_BOOLEAN_H_#define _LIBC_BOOLEAN_H_/* * Pick up "boolean_t" type definition. */typedef unsigned char boolean_t;/* * Define the basic boolean constants if not defined already. */#ifndef TRUE#define TRUE ((boolean_t) 1)#endif#ifndef FALSE#define FALSE ((boolean_t) 0)#endif#endif /* _LIBC_BOOLEAN_H_ */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?