|


| NAVIGATION |
|
Home |
|
Store |
|
|
| INSIDE MAC |
|
Television Shows |
|
Broadcast Shows |
|
Daily News Shows |
|
Special Shows |
|
|
| EVENTS |
|
|
|
|
|
|
|
|
| DAILY TIPS |
|
Design |
|
Mac OS X |
|
Mac OS X UNIX |
|
|
| COMMUNITY |
|
Surveys |
|
|
| NEWS |
|
Current |
|
Press |
|
Archive |
|
|
| FEATURES |
|
Editorial |
|
Dr. Mac |
|
Reviews |
|
Reader Reports |
|
|
| RESOURCES |
|
FAQ |
|
Documentation |
|
Learning Center |
|
MAN pages |
|
Glossary |
|
Tutorials |
|
Tips |
|
Links |
|
|
|

|
|
|
#include <unistd.h>
unsigned int
alarm(unsigned int seconds)
DESCRIPTION
This interface is made obsolete by setitimer(2).
The alarm() function waits a count of seconds before asserting the termi-
nating signal SIGALRM. When the signal has successfully been caught,
alarm() returns the amount of time left on the clock. The maximum number
of seconds allowed is 2147483647.
If an alarm has been set with alarm(), another call to alarm() will su-
persede the prior call. The request alarm(0) voids the current alarm.
SEE ALSO
sigaction(2), setitimer(2), sigpause(2), sigvec(3), signal(3),
sleep(3), ualarm(3), usleep(3)
STANDARDS
The alarm() function conforms to .
HISTORY
An alarm() function appeared in Version 7 AT&T UNIX.
4th Berkeley Distribution April 19, 1994 1
|


|
Copyright © 2000-2010 Inside Mac Media, Inc. All rights reserved. |
Apple assumes no responsibility with regard to the selection, performance, or use of the products or services. All understandings, agreements, or warranties, if any, take place directly between the vendors and prospective users. |
| Apple, the Apple logo, Mac, PowerMac G4, PowerMac G5, Xserve, Xserve RAID, PowerBook, iBook, Airport, AirPort Extreme, iMac, eMac, iLife, iMovie, iCal, iPhoto, iTunes, QuickTime, FireWire, iPod, iSight, AppleWorks, Macintosh, Jaguar, Panther, Mac OS, Mac OS X and Mac OS X Server are trademarks of Apple Computer, Inc. |
|