24 lines
377 B
Groff
24 lines
377 B
Groff
.TH PAUSE 2
|
|
.UC 4
|
|
.SH NAME
|
|
pause \- wait for signal
|
|
.SH SYNOPSIS
|
|
.nf
|
|
.B #include<unistd.h>
|
|
.B int pause(void)
|
|
.fi
|
|
.SH DESCRIPTION
|
|
.B pause()
|
|
causes the process to sleep until a signal is recieved.
|
|
.B -EINTR
|
|
is returned when the process wakes up.
|
|
.SH FILES
|
|
linux/kernel/sched.c
|
|
.br
|
|
/usr/include/linux/sys.h
|
|
.br
|
|
/usr/include/unistd.h
|
|
.SH SEE ALSO
|
|
signal(2), sleep(3), wait(2)
|
|
|