add directory Ref-docs
This commit is contained in:
31
Ref-docs/syscalls/syscalls_85.html
Normal file
31
Ref-docs/syscalls/syscalls_85.html
Normal file
@@ -0,0 +1,31 @@
|
||||
<html><!-- This HTML file has been created by texi2html 1.29
|
||||
from syscalls.texi on 4 June 1994 -->
|
||||
|
||||
<TITLE>Syscall specifications of Linux - alarm</TITLE>
|
||||
<P>Go to the <A HREF="syscalls_84.html" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_84.html">previous</A>, <A HREF="syscalls_86.html" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_86.html">next</A> section.<P>
|
||||
<H2><A NAME="SEC85" HREF="syscalls_toc.html#SEC85" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_toc.html#SEC85">alarm</A></H2>
|
||||
<P>
|
||||
<H3>SYNOPSIS</H3>
|
||||
<P>
|
||||
<CODE>long alarm(long <VAR>seconds</VAR>);</CODE>
|
||||
<P>
|
||||
<H3>PARAMETERS</H3>
|
||||
<P>
|
||||
<VAR>seconds</VAR>: [in] the delay.
|
||||
<P>
|
||||
<H3>DESCRIPTION</H3>
|
||||
<P>
|
||||
If the call completes successfully, the taks will receive a
|
||||
<CODE>SIGALARM</CODE> signal after a delay of <VAR>seconds</VAR> seconds. A delay
|
||||
of zero seconds simply cancel the alarm. If an previous alarm was
|
||||
activated when the call is made then the previous alarm is cancelled.
|
||||
<P>
|
||||
Internally, the call just sets an interruption timer.
|
||||
<P>
|
||||
<H3>RETURN VALUE</H3>
|
||||
<P>
|
||||
If a previous alarm was activated, the call returns the time delay
|
||||
before the expiration of that previous alarm (now canceled). Otherwise,
|
||||
it returns zero.
|
||||
<P>
|
||||
<P>Go to the <A HREF="syscalls_84.html" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_84.html">previous</A>, <A HREF="syscalls_86.html" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_86.html">next</A> section.<P>
|
||||
Reference in New Issue
Block a user