nint_n_event.c

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

C
37
字号
#ifndef	lint#ifdef sccsstatic	char sccsid[] = "@(#)nint_n_event.c 1.1 92/07/30 Copyr 1985 Sun Micro";#endif#endif/* * Copyright (c) 1985 by Sun Microsystems, Inc. *//* * Nint_n_event.c - Implement the notify_next_event_func interface. */#include <sunwindow/ntfy.h>#include <sunwindow/ndet.h>#include <sunwindow/nint.h>extern Notify_value	notify_next_event_func(nclient, event, arg, when)	Notify_client nclient;	Notify_event event;	Notify_arg arg;	Notify_event_type when;{	Notify_func func;	NTFY_TYPE type;	/* Check arguments */	if (ndet_check_when(when, &type))		return(NOTIFY_UNEXPECTED);	if ((func = nint_next_callout(nclient, type)) == NOTIFY_FUNC_NULL)		return(NOTIFY_UNEXPECTED);	return(func(nclient, event, arg, when));}

⌨️ 快捷键说明

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