标签: c alarm
我知道我可以使用alram(numberOfSeconds)在指定的时间后使用SIGALRM设置闹钟“关闭”我想要做的是立即提升SIGALRM。
alram(numberOfSeconds)
非常感谢任何帮助。
答案 0 :(得分:11)
raise(SIGALRM);