⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 types.h

📁 T-kernel Tcp/ip Protocol Stack Sample
💻 H
字号:
/**************************************************************************** * Copyright (C) 2001-2004 MITSUBISHI ELECTRIC CORPORATION and * RENESAS SOLUTIONS CORPORATION * All rights reserved. * **************************************************************************** * Copyright (c) 1982, 1986, 1991, 1993, 1994 *	The Regents of the University of California.  All rights reserved. * (c) UNIX System Laboratories, Inc. * All or some portions of this file are derived from material licensed * to the University of California by American Telephone and Telegraph * Co. or Unix System Laboratories, Inc. and are reproduced herein with * the permission of UNIX System Laboratories, Inc. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright *    notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright *    notice, this list of conditions and the following disclaimer in the *    documentation and/or other materials provided with the distribution. * 3. All advertising materials mentioning features or use of this software *    must display the following acknowledgement: *	This product includes software developed by the University of *	California, Berkeley and its contributors. * 4. Neither the name of the University nor the names of its contributors *    may be used to endorse or promote products derived from this software *    without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * *	@(#)types.h	8.6 (Berkeley) 2/19/95 * $Id: types.h,v 1.11.2.1 1997/01/30 11:08:01 asami Exp $ */#ifndef _SYS_TYPES_H_#define	_SYS_TYPES_H_typedef	unsigned char	u_char;typedef	unsigned short	u_short;typedef	unsigned int	u_int;typedef	unsigned long	u_long;typedef	unsigned short	ushort;		/* Sys V compatibility */typedef	unsigned int	uint;		/* Sys V compatibility *//**** Moved from netbsd/sys/arch/ ****/typedef	int	pid_t;typedef	unsigned int	uid_t;typedef	unsigned int	gid_t;typedef	char *	caddr_t;/* typedef unsigned int	size_t; */typedef	int	ssize_t;typedef	long	time_t;typedef	unsigned long	clock_t;typedef char              int8_t;typedef unsigned char   u_int8_t;typedef short             int16_t;typedef unsigned short  u_int16_t;typedef int               int32_t;typedef unsigned int    u_int32_t;typedef long            int64_t;typedef unsigned long   u_int64_t;typedef int32_t        register_t;typedef u_int64_t       u_quad_t;       /* quads */typedef int64_t         quad_t;typedef quad_t *        qaddr_t;typedef int32_t         daddr_t;        /* disk address */typedef u_int32_t       dev_t;          /* device number */typedef u_int32_t       fixpt_t;        /* fixed point number */typedef u_int32_t       ino_t;          /* inode number */typedef long            key_t;          /* IPC key (for Sys V IPC) */typedef u_int32_t       mode_t;         /* permissions */typedef u_int32_t       nlink_t;        /* link count */typedef quad_t          off_t;          /* file offset */typedef quad_t          rlim_t;         /* resource limit */typedef int32_t         segsz_t;        /* segment size */typedef int32_t         swblk_t;        /* swap offset */#ifndef	NULL#define	NULL	0#endif#ifndef _SYS_CDEFS_H_#include <sys/cdefs.h>#endif#endif	/* !_SYS_TYPES_H_ */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -