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

📄 rpc_as.h

📁 操作系统SunOS 4.1.3版本的源码
💻 H
字号:
#ifndef _rpc_as_h/*static	char sccsid[] = "@(#)rpc_as.h 1.1 92/07/30 Copyright Sun Micro 1989";*/#define _rpc_as_h#include <rpc/types.h>struct rpc_as {	char   *as_userptr;	/*anything you like*/	struct timeval   as_timeout_remain;	int	as_fd;	bool_t	as_timeout_flag; /*set if timeouts wanted*/	void (*as_timeout)();  /*routine to call if timeouts wanted*/	void (*as_recv)();     /*routine to call if data is present*/};typedef struct rpc_as rpc_as;struct timeval rpc_as_get_timeout(); /*get timeval to wait for*/struct fd_set rpc_as_get_fdset(); /*get fdset to wait for*/void	rpc_as_timeout();	  /*process timeout if select times out*/void	rpc_as_rcvreqset(/*fdset*/);/*process read on bits returned by select*/int	rpc_as_rcv(); /*process read or timeout signal -- never wait			returns select status*/int	rpc_as_register(/* &rpc_as*/);int	rpc_as_unregister(/* &rpc_as*/);rpc_as *rpc_as_fd_to_as(/*fd*/); #endif

⌨️ 快捷键说明

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