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

📄 ndet_die.c

📁 操作系统SunOS 4.1.3版本的源码
💻 C
字号:
#ifndef	lint#ifdef sccsstatic	char sccsid[] = "@(#)ndet_die.c 1.1 92/07/30 Copyr 1985 Sun Micro";#endif#endif/* * Copyright (c) 1985 by Sun Microsystems, Inc. *//* * Ndet_die.c - Notify_die implementation. */#include <sunwindow/ntfy.h>#include <sunwindow/ndet.h>#include <sunwindow/ndis.h>extern Notify_errornotify_die(status)	Destroy_status status;{	NTFY_ENUM ndet_immediate_destroy(), ndet_remove_all();	NTFY_ENUM enum_code;	Notify_error return_code;	if (ndet_check_status(status))		return(NOTIFY_INVAL);	NTFY_BEGIN_CRITICAL;	/* Call all destroy procs (go around entire dispatch mechanism) */	enum_code = ntfy_paranoid_enum_conditions(ndet_clients,	    ndet_immediate_destroy, (NTFY_ENUM_DATA)status);	/* If checking then return result */	return_code = NOTIFY_OK;	if (status == DESTROY_CHECKING) {		if (enum_code == NTFY_ENUM_TERM)			return_code = NOTIFY_DESTROY_VETOED;	} else		/* else remove all clients */		(void) ntfy_paranoid_enum_conditions(ndet_clients,		    ndet_remove_all, NTFY_ENUM_DATA_NULL);	NTFY_END_CRITICAL;	return(return_code);}/* * Remove each client. *//* ARGSUSED */pkg_private NTFY_ENUMndet_remove_all(client, condition, context)	NTFY_CLIENT *client;	NTFY_CONDITION *condition;	NTFY_ENUM_DATA context;{	(void) notify_remove(client->nclient);	return(NTFY_ENUM_SKIP);}

⌨️ 快捷键说明

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