nptypes.h
来自「internich公司实现的一个非常非常小的OS」· C头文件 代码 · 共 58 行
H
58 行
/* * FILENAME: nptypes.h * * Copyright 2000-2004 By InterNiche Technologies Inc. All rights reserved * Portions Copyright 1990-1997 by NetPort Software * Portions Copyright 1986 by Carnegie Mellon * Portions Copyright 1983 by the Massachusetts Institute of Technology * * * MODULE: NTF * * * PORTABLE: yes */#ifndef NPTYPES_H#define NPTYPES_H 1typedef unsigned short unshort;typedef unsigned long ulong;/* now do it the way the CMU snmp code likes it: */typedef unsigned char u_char;typedef unsigned short u_short;typedef unsigned long u_long;typedef unsigned long ip_addr;/* general stuff C code */#ifndef TRUE#define TRUE -1#endif#ifndef FALSE#define FALSE 0#endif#ifndef NULL#define NULL ((void*)0)#endif/* usefull macros: */#ifndef min#define min(x,y) ((x) < (y) ? (x) : (y))#endif#ifndef max#define max(x,y) ((x) > (y) ? (x) : (y))#endif#endif /* NPTYPES_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?