Files
oldlinux-files/Minix/2.0.0/wwwman/man2/pause.2.html
2024-02-19 00:21:39 -05:00

74 lines
1.2 KiB
HTML

<HTML>
<HEAD>
<TITLE>pause(2)</TITLE>
</HEAD>
<BODY>
<H1>pause(2)</H1>
<HR>
<PRE>
</PRE>
<H2>NAME</H2><PRE>
pause - stop until signal
</PRE>
<H2>SYNOPSIS</H2><PRE>
<STRONG>#include</STRONG> <STRONG>&lt;unistd.h&gt;</STRONG>
<STRONG>int</STRONG> <STRONG>pause(void)</STRONG>
</PRE>
<H2>DESCRIPTION</H2><PRE>
<STRONG>Pause</STRONG> never returns normally. It is used to give up control while
waiting for a signal from <STRONG><A HREF="../man2/kill.2.html">kill(2)</A></STRONG> or the alarm timer, see <STRONG><A HREF="../man2/alarm.2.html">alarm(2)</A></STRONG>. Upon
termination of a signal handler started during a <STRONG>pause,</STRONG> the <STRONG>pause</STRONG> call
will return.
</PRE>
<H2>RETURN VALUE</H2><PRE>
Always returns -1.
</PRE>
<H2>ERRORS</H2><PRE>
<STRONG>Pause</STRONG> always returns:
[EINTR] The call was interrupted.
</PRE>
<H2>SEE ALSO</H2><PRE>
<STRONG><A HREF="../man2/alarm.2.html">alarm(2)</A></STRONG>, <STRONG><A HREF="../man2/kill.2.html">kill(2)</A></STRONG>, <STRONG><A HREF="../man2/sigsuspend.2.html">sigsuspend(2)</A></STRONG>.
</PRE>
</BODY>
</HTML>