2011-11-24 1 views

답변

2

RETURN VALUE 

    pause() 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. 

(특이한 경우 또는 ERESTART) EINTR을 받고 중단 될 때마다 콜 man page of pause에서. pause을 예외로 만들 필요가 없습니다.

물론 코드에 (void) pause();을 쓰면 결과를 무시할 수 있습니다.