disable disable



disable disable

disable

disable,英语单词,也有C语言函式disable。

基本介绍

  • 中文名:使失去能力
  • 外文名:disable
  • 音标:[dis'eibl]
  • 类型:vt.

单词

disable[dis'eibl]vt.
1. 使失去能力[(+from)]
2. 使伤残[H]
He was disabled in the accident.
他在那次事故中成了残废。
3. 【律】使无资格[(+from)]
He is disabled from voting.
他失去了选举资格。

C函式

函式名: disable
功 能: 禁止中断
用 法: void disable(void);
程式例:
/***NOTE: This is an interrupt service
routine. You cannot compile this program
with Test Stack Overflow turned on and
get an executable file that operates
correctly. */
#include #include #include #define INTR 0X1C    /* The clock tickinterrupt */void interrupt ( *oldhandler)(void);int count=0;void interrupt handler(void){/* disable interrupts during the handling ofthe interrupt */disable();/* increase the global counter */count++;/* reenable interrupts at the end of thehandler */enable();/* call the old routine */oldhandler();}
int main(void){/* save the old interrupt vector */oldhandler = getvect(INTR);/* install the new interrupt handler */setvect(INTR, handler);/* loop until the counter exceeds 20 */while (count < 20)printf("count is %d\n",count);/* reset the old interrupt handler */setvect(INTR, oldhandler);return 0;}

您还可以搜索:disabled是什么意思,disabled,disable什么意思,disabled是开启还是关闭,disable的用法,disableflagsecure模块12,disable翻译,disable的形容词,disabled和enabled电脑里怎么选,disable和unable的区别④

本文地址:[https://www.chuanchengzhongyi.com/detail/9730.html]
梦到牙疼是什么意思星座乐周公解梦 梦见牙疼是什么预兆
上一篇 2023-05-27
沟通100是干什么的
下一篇
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

相关推荐

  • disable disable

    disable,disable disable,英语单词,也有C语言函式disable。 基本介绍 中文名:使失...

    2023-05-27 04:52:30