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

📄 nsaddr.h

📁 操作系统SunOS 4.1.3版本的源码
💻 H
字号:
/*	@(#)nsaddr.h 1.1 92/07/30 SMI 	*//*	Copyright (c) 1984 AT&T	*//*	  All Rights Reserved  	*//*	THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T	*//*	The copyright notice above does not evidence any   	*//*	actual or intended publication of such source code.	*/#ident	"@(#)nlsadmin:nsaddr.h	1.3"/*	stoa - convert string to address	atos - convert address to string	header file*/#define	OCT	0	/* octal type */#define	HEX	1	/* hexadecimal type */#define	RAW	2	/* string type */#define KEEP	8	/* keep protocol field	*/#define	SBUFSIZE	128struct netbuf {	unsigned maxlen;	unsigned len;	char *buf;};struct address {	char		*protocol;	struct netbuf	addbuf;};struct netbuf	*stoa(/* str, netbuf */);char		*atos(/* str, netbuf, type */);struct address	*astoa(/* str, addr */);char		*aatos(/* str, addr, type */);

⌨️ 快捷键说明

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