C“睡眠"是什么意思?功能(大写的"S")在Mac上可以做什么?
问题描述:
注意Sleep
中的大写字母"S".带有大写字母"S"的Sleep
是在PC上休眠毫秒的标准功能.在Mac OS X上,没有这样的符号.但是,Xcode链接环境似乎找到了将其链接到的内容.什么事?
Note the capital "S" in Sleep
. Sleep
with a capital "S" is a standard function that sleeps milliseconds on the PC. On Mac OS X, there is no such symbol. However, the Xcode linking environment seems to find something to link it to. What is it?
答
好吧,这是一个古老的Carbon函数(在CoreServices/OSServices框架中),可以使计算机进入睡眠状态.我找不到任何文档.
Well, it’s an old old Carbon function (in the CoreServices / OSServices framework) that puts the computer to sleep. I can’t find any documentation.