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

📄 attr_util.c

📁 操作系统SunOS 4.1.3版本的源码
💻 C
字号:
#ifndef lint#ifdef sccsstatic	char sccsid[] = "@(#)attr_util.c 1.1 92/07/30";#endif#endif/* * Copyright (c) 1986 by Sun Microsystems, Inc. */#include <sys/types.h>#include <varargs.h>#include <sunwindow/attr.h>/* attr_create_list creates an avlist from the VARARGS passed * on the stack.  The storage is always allocated. *//*VARARGS*/Attr_avlistattr_create_list(va_alist)va_dcl{    va_list	valist;    Attr_avlist	avlist;    va_start(valist);    avlist = attr_make((char **)0, 0, valist);    va_end(valist);    return avlist;}/* attr_find searches and avlist for the first occurrence of * a specified attribute. */Attr_avlistattr_find(attrs, attr)register Attr_avlist	attrs;register Attr_attribute	attr;{    for (; *attrs; attrs = attr_next(attrs)) {	if (*attrs == (caddr_t)attr) break;    }    return(attrs);}

⌨️ 快捷键说明

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