ndet_g_sig.c

来自「操作系统SunOS 4.1.3版本的源码」· C语言 代码 · 共 34 行

C
34
字号
#ifndef	lint#ifdef sccsstatic	char sccsid[] = "@(#)ndet_g_sig.c 1.1 92/07/30 Copyr 1985 Sun Micro";#endif#endif/* * Copyright (c) 1985 by Sun Microsystems, Inc. *//* * Ndet_g_sig.c - Implement the notify_get_signal_func interface. */#include <sunwindow/ntfy.h>#include <sunwindow/ndet.h>extern Notify_funcnotify_get_signal_func(nclient, signal, mode)	Notify_client nclient;	int signal;	Notify_signal_mode mode;{	NTFY_TYPE type;	/* Check arguments */	if (ndet_check_mode(mode, &type))		return(NOTIFY_FUNC_NULL);	if (ndet_check_sig(signal))		return(NOTIFY_FUNC_NULL);	return(ndet_get_func(nclient, type, (NTFY_DATA)signal, NTFY_USE_DATA));}

⌨️ 快捷键说明

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