内容简介
#include <unistd.h>int pause(void);
描述
pause() 库函数使调用进程(或线程)睡眠状态,直到接收到信号,要么终止,或导致它调用一个信号捕获函数。返回值
The pause() function only returns when a signal was caught and the signal-catching function returned. In this case pause() returns -1, and errno is set to EINTR.错误
标签 | 描述 |
---|---|
EINTR | a signal was caught and the signal-catching function returned. |
遵循于
SVr4, 4.3BSD, POSIX.1-2001.另请参阅