Amiga Unix — 68040 · 68060

Manual pages › System calls (2)

pause(2)

suspend process until signal

From the original Amiga UNIX 2.1 manual. Some things it mentions may not be in this release.

NAME

pause - suspend process until signal

SYNOPSIS

#include <unistd.h>

int pause(void);

DESCRIPTION

pause suspends the calling process until it receives a signal. The signal must be one that is not currently set to be ignored by the calling process.

If the signal causes termination of the calling process, pause does not return.

If the signal is caught by the calling process and control is returned from the signal-catching function [see signal(2)], the calling process resumes execution from the point of suspension; with a return value of -1 from pause and errno set to EINTR.

SEE ALSO

alarm(2), kill(2), signal(2), sigpause(2), wait(2).