File:  [CSRG BSD Unix] / 43BSDReno / lib / libc / gen / pause.3
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:55 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43reno
BSD 4.3reno

.\" Copyright (c) 1980 Regents of the University of California.
.\" All rights reserved.  The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\"	@(#)pause.3	6.2 (Berkeley) 4/10/89
.\"
.TH PAUSE 3 "April 10, 1989"
.UC 4
.SH NAME
pause \- stop until signal
.SH SYNOPSIS
.B pause()
.SH DESCRIPTION
.ft B
Pause is made obsolete by sigpause(3).
.ft R
.PP
.I Pause
never returns normally.
It is used to give up control while waiting for
a signal from
.IR kill (2)
or an interval timer, see
.IR setitimer (2).
Upon termination of a signal handler started during a
.I pause,
the
.I pause
call will return.
.SH "RETURN VALUE
Always returns \-1.
.SH ERRORS
.I Pause
always returns:
.TP 15
[EINTR]
The call was interrupted.
.SH "SEE ALSO
kill(2), select(2), sigpause(2)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.