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

📄 nint_copy.c

📁 操作系统SunOS 4.1.3版本的源码
💻 C
字号:
#ifndef	lint#ifdef sccsstatic	char sccsid[] = "@(#)nint_copy.c 1.1 92/07/30 Copyr 1985 Sun Micro";#endif#endif/* * Copyright (c) 1985 by Sun Microsystems, Inc. *//* * Nint_interpose.c - Implement the nint_interpose_func private interface. */#include <sunwindow/ntfy.h>#include <sunwindow/ndet.h>#include <sunwindow/nint.h>pkg_private Notify_errornint_copy_callout(new_cond, old_cond)	NTFY_CONDITION *new_cond;	NTFY_CONDITION *old_cond;{	if (old_cond->func_count > 1) {		if ((new_cond->callout.functions = ntfy_alloc_functions()) ==		    NTFY_FUNC_PTR_NULL)			return(notify_errno);		bcopy((caddr_t)old_cond->callout.functions,		    (caddr_t)new_cond->callout.functions, sizeof(NTFY_NODE));	} else		new_cond->callout.function = old_cond->callout.function;	return(NOTIFY_OK);}

⌨️ 快捷键说明

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