GNU Info

Info Node: (libc.info)Waiting for a Signal

(libc.info)Waiting for a Signal


Next: Signal Stack Prev: Blocking Signals Up: Signal Handling
Enter node , (file) or (file)node

Waiting for a Signal
====================

   If your program is driven by external events, or uses signals for
synchronization, then when it has nothing to do it should probably wait
until a signal arrives.

Using Pause
The simple way, using `pause'.
Pause Problems
Why the simple way is often not very good.
Sigsuspend
Reliably waiting for a specific signal.

automatically generated by info2www version 1.2.2.9