rwhod.h

来自「ftam等标准协议服务器和客户端的源代码。」· C头文件 代码 · 共 29 行

H
29
字号
/*	rwhod.h	4.8	83/06/01	*//* * rwho protocol packet format. */struct	outmp {	char	out_line[8];		/* tty name */	char	out_name[8];		/* user id */	long	out_time;		/* time on */};struct	whod {	char	wd_vers;		/* protocol version # */	char	wd_type;		/* packet type, see below */	char	wd_pad[2];	int	wd_sendtime;		/* time stamp by sender */	int	wd_recvtime;		/* time stamp applied by receiver */	char	wd_hostname[32];	/* hosts's name */	int	wd_loadav[3];		/* load average as in uptime */	int	wd_boottime;		/* time system booted */	struct	whoent {		struct	outmp we_utmp;	/* active tty info */		int	we_idle;	/* tty idle time */	} wd_we[1024 / sizeof (struct whoent)];};#define	WHODVERSION	1#define	WHODTYPE_STATUS	1		/* host status */

⌨️ 快捷键说明

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