1 <assertions> 2 <assertion id="1" tag="ref:XSH6:42484:42486 pt:RTS"> 3 sigtimedwait( ) shall wait for the time interval specified in the timespec 4 structure referenced by timeout, if none of the signals specified by set are pending, 5 </assertion> 6 <assertion id="2" tag="ref:XSH6:42486:42488 pt:RTS"> 7 sigtimedwait( ) shall return immediately with an error, if the timespec structure 8 pointed to by timeout is7 zero-valued and if none of the signals specified by set are pending. 9 </assertion> 10 <assertion id="3" tag="ref:XSH6:42488:42490 pt:MON"> 11 The CLOCK_MONOTONIC clock shall be used to measure the time interval specified by 12 the timeout argument, if the Monotonic Clock option is supported. 13 </assertion> 14 <assertion id="4" tag="ref:XSH6:424506:42508 pt:RTS"> 15 sigtimedwait( ) shall return the selected signal number, upon successful completion 16 </assertion> 17 <assertion id="5" tag="ref:XSH6:42508:42509 pt:RTS"> 18 sigtimedwait() shall return a value of -1 upon unsuccessful completion. 19 </assertion> 20 <assertion id="6" tag="ref:XSH6:42510:42512 pt:RTS"> 21 sigtimedwait() shall set errno to [EAGAIN] if no signal specified by set was generated 22 within the specified timeout period. 23 </assertion> 24 </assertions> 25 26 27