📄 nint_copy.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 + -