alarm man page on 4.4BSD

Printed from http://www.polarhome.com/service/man/?qf=alarm&af=0&tf=2&of=4.4BSD

ALARM(3)		 BSD Library Functions Manual		      ALARM(3)

NAME
     alarm — set signal timer alarm

SYNOPSIS
     #include <unistd.h>

     u_int
     alarm(u_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
     supersede the prior call.	The request alarm(0) voids the current alarm.

SEE ALSO
     sigaction(2), setitimer(2), sigpause(2), sigvec(2), signal(3), sleep(3),
     ualarm(3), usleep(3)

HISTORY
     An alarm() function appeared in Version 7 AT&T UNIX.

4th Berkeley Distribution	April 19, 1994	     4th Berkeley Distribution
[top]

List of man pages available for 4.4BSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net