IPB
>  Man Pages > Linux > Suse Linux 10.1 > Section 2 > alarm man page

alarm man page

Section 2 - Suse Linux 10.1 Man Pages

Other operating system man pages available here


Advanced Search

Hopefully, this page is exactly what you are looking for, but if not, you can always find further assistance on Unix/Linux Forum!


ALARM(2)                   Linux Programmer's Manual                  ALARM(2)




NAME

       alarm - set an alarm clock for delivery of a signal


SYNOPSIS

       #include <unistd.h>

       unsigned int alarm(unsigned int seconds);


DESCRIPTION

       alarm() arranges for a SIGALRM signal to be delivered to the process in
       seconds seconds.

       If seconds is zero, no new alarm() is scheduled.

       In any event any previously set alarm() is cancelled.


RETURN VALUE

       alarm() returns the number of seconds remaining  until  any  previously
       scheduled alarm was due to be delivered, or zero if there was no previ-
       ously scheduled alarm.


NOTES

       alarm() and setitimer() share the same timer; calls to one will  inter-
       fere with use of the other.

       sleep()  may  be implemented using SIGALRM; mixing calls to alarm() and
       sleep() is a bad idea.

       Scheduling delays can, as ever, cause the execution of the  process  to
       be delayed by an arbitrary amount of time.


CONFORMING TO

       SVr4, SVID, POSIX, X/OPEN, 4.3BSD


SEE ALSO

       gettimeofday(2),  pause(2), select(2), setitimer(2), sigaction(2), sig
       nal(2), sleep(3)



Linux                             1993-07-21                          ALARM(2)


Man(1) output converted with man2html and wrapped by fishsponge

This page was generated on Tue Feb 13 02:17:40 GMT 2007

Your favourite pages:

No pages logged yet.
Trying to save cookie...

Top 10 most popular pages:

sqlite3 man page (5323 hits)
(openSUSE 10.2)

svn man page (5171 hits)
(FreeBSD 6.2)

adv_cap_autoneg man page (4865 hits)
(Solaris 10 11_06)

CPAN man page (4602 hits)
(Suse Linux 10.1)

ssh man page (4337 hits)
(Suse Linux 10.1)

ssh-socks5-proxy-connect man page (2841 hits)
(Solaris 10 11_06)

netcat man page (2688 hits)
(Suse Linux 10.1)

pprosetup man page (2473 hits)
(Solaris 10 11_06)

startproc man page (2453 hits)
(Suse Linux 10.1)

signal man page (2393 hits)
(Suse Linux 10.1)

Useful Links

Go Back

Visitor Statistics


Valid XHTML 1.0 Transitional     Valid CSS!

Partners: Cambridge Plus :: Pyrenees Location :: Analogue Electronic Design :: <Link Available>
Unix Man Pages / Linux Man Pages :: HiFi Forum :: SIP VoIP Phone & Provider Reviews :: UNIX/Linux Forum Archives

More info on advertising on Unix/Linux Forum