nint_n_fd.c

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

C
35
字号
#ifndef	lint#ifdef sccsstatic	char sccsid[] = "@(#)nint_n_fd.c 1.1 92/07/30 Copyr 1985 Sun Micro";#endif#endif/* * Copyright (c) 1985 by Sun Microsystems, Inc. *//* * Nint_n_fd.c - Implement the nint_next_fd_func interface. */#include <sunwindow/ntfy.h>#include <sunwindow/ndet.h>#include <sunwindow/nint.h>pkg_private Notify_value	nint_next_fd_func(nclient, type, fd)	Notify_client nclient;	NTFY_TYPE type;	int fd;{	Notify_func func;	/* Check arguments */	if (ndet_check_fd(fd))		return(NOTIFY_UNEXPECTED);	if ((func = nint_next_callout(nclient, type)) == NOTIFY_FUNC_NULL)		return(NOTIFY_UNEXPECTED);	return(func(nclient, fd));}

⌨️ 快捷键说明

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