Make unvis() have more reasonable argument types.
[unix-history] / usr / src / lib / libc / gen / pause.3
CommitLineData
3619c480
KM
1.\" Copyright (c) 1980 Regents of the University of California.
2.\" All rights reserved. The Berkeley software License Agreement
3.\" specifies the terms and conditions for redistribution.
4.\"
79e6b3c8 5.\" @(#)pause.3 6.3 (Berkeley) %G%
3619c480 6.\"
e3800388 7.TH PAUSE 3 ""
3619c480
KM
8.UC 4
9.SH NAME
10pause \- stop until signal
11.SH SYNOPSIS
12.B pause()
13.SH DESCRIPTION
e3800388
KB
14.ft B
15Pause is made obsolete by sigpause(3).
16.ft R
17.PP
3619c480
KM
18.I Pause
19never returns normally.
20It is used to give up control while waiting for
21a signal from
22.IR kill (2)
3eee9a2c
KM
23or an interval timer, see
24.IR setitimer (2).
3619c480
KM
25Upon termination of a signal handler started during a
26.I pause,
27the
28.I pause
29call will return.
3eee9a2c
KM
30.SH "RETURN VALUE
31Always returns \-1.
32.SH ERRORS
33.I Pause
34always returns:
35.TP 15
36[EINTR]
37The call was interrupted.
38.SH "SEE ALSO
39kill(2), select(2), sigpause(2)