sadf.h

来自「linux下查看系统工具原码,如IOSTAT等」· C头文件 代码 · 共 40 行

H
40
字号
/* * sadf: System activity data formatter * (C) 1999-2006 by Sebastien Godard (sysstat <at> wanadoo.fr) */#ifndef _SADF_H#define _SADF_H#define PT_NOFLAG  0x0000	/* Prevent undescribed '0' in render calls */#define PT_USEINT  0x0001	/* Use the integer final arg, not double */#define PT_NEWLIN  0x0002	/* Terminate the current output line */#define NOVAL      0		/* For placeholder zeros */#define DNOVAL     0.0		/* Wilma!  *//* DTD version for XML output */#define XML_DTD_VERSION	"1.0"static char *seps[] =  {"\t", ";"};/* * Conses are used to type independent passing * of variable optional data into our rendering routine. */typedef enum e_tcons {iv, sv} tcons; /* Types of conses */typedef struct {   tcons t;			/* Type in {iv,sv} */   union {      unsigned long int i;      char *s;   } a, b;			/* Value pair, either ints or char *s */} Cons;#endif  /* _SADF_H */

⌨️ 快捷键说明

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