1*61111Sbostic.\" Copyright (c) 1980, 1991, 1993 2*61111Sbostic.\" The Regents of the University of California. All rights reserved. 320171Smckusick.\" 448352Scael.\" %sccs.include.redist.man% 520171Smckusick.\" 6*61111Sbostic.\" @(#)pause.3 8.1 (Berkeley) 06/04/93 748352Scael.\" 848352Scael.Dd 948352Scael.Dt PAUSE 3 1048352Scael.Os BSD 4 1148352Scael.Sh NAME 1248352Scael.Nm pause 1348352Scael.Nd stop until signal 1448352Scael.Sh SYNOPSIS 1548352Scael.Fd #include <unistd.h> 1648352Scael.Ft int 1748352Scael.Fn pause void 1848352Scael.Sh DESCRIPTION 1948352Scael.Bf -symbolic 2037379SbosticPause is made obsolete by sigpause(3). 2148352Scael.Ef 2248352Scael.Pp 2348352ScaelThe 2448352Scael.Fn pause 2548352Scaelfunction 2648352Scaelforces a process to pause until 2748352Scaela signal is received from either the 2848352Scael.Xr kill 2 2948352Scaelfunction 3048352Scaelor an interval timer. 3148352Scael(See 3248352Scael.Xr setitimer 2 . ) 3320171SmckusickUpon termination of a signal handler started during a 3448352Scael.Fn pause , 3520171Smckusickthe 3648352Scael.Fn pause 3720171Smckusickcall will return. 3848352Scael.Sh RETURN VALUES 3920172SmckusickAlways returns \-1. 4048352Scael.Sh ERRORS 4148352ScaelThe 4248352Scael.Fn pause 4348352Scaelfunction 4420172Smckusickalways returns: 4548352Scael.Bl -tag -width [EINTR] 4648352Scael.It Bq Er EINTR 4720172SmckusickThe call was interrupted. 4848352Scael.El 4948352Scael.Sh SEE ALSO 5048352Scael.Xr kill 2 , 5148352Scael.Xr select 2 , 5248352Scael.Xr sigpause 2 5348352Scael.Sh HISTORY 5448352ScaelA 5548352Scael.Fn pause 5648352Scaelsyscall 5748352Scaelappeared in 5848352Scael.At v6 . 59