#ifndef lint
#ifdef sccs
static char sccsid[] = "@(#)nint_set.c 1.1 92/07/30 Copyr 1985 Sun Micro";
#endif
#endif
/*
* Copyright (c) 1985 by Sun Microsystems, Inc.
*/
/*
* Nint_set.c - Implement the nint_set_func private interface.
*/
#include <sunwindow/ntfy.h>
#include <sunwindow/ndet.h>
#include <sunwindow/nint.h>
pkg_private Notify_func
nint_set_func(cond, new_func)
register NTFY_CONDITION *cond;
Notify_func new_func;
{
Notify_func old_func;
if (cond->func_count > 1) {
old_func = cond->callout.functions[cond->func_count-1];
cond->callout.functions[cond->func_count-1] = new_func;
} else {
old_func = cond->callout.function;
cond->callout.function = new_func;
cond->func_count = 1;
}
return(old_func);
}
没有合适的资源?快使用搜索试试~ 我知道了~
nint_set.rar_set
共2个文件
c:1个
h:1个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 76 浏览量
2022-09-24
07:19:05
上传
评论
收藏 3KB RAR 举报
温馨提示
Nint_set.c - Implement the nint_set_func private interface.
资源推荐
资源详情
资源评论
收起资源包目录
nint_set.rar (2个子文件)
pc_fs.h 5KB
nint_set.c 740B
共 2 条
- 1
资源评论
我虽横行却不霸道
- 粉丝: 75
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功