check.signal: check.signal

Description Usage Arguments Details Value Author(s)

Description

Check if an expression results in a signal being delivered

Usage

1
check.signal(expr, signo, testname, no.signal = FALSE)

Arguments

expr

The expression to evaluate

signo

The signal number (consider using constants like SIGUSR1 from the tools package).

testname

Name for this test. Default is to build from signo argument.

no.signal

Logical, to invert the sense of the test. Default, FALSE, means to test that the signal was delivered. TRUE means to test that the signal was not delivered.

Details

Check if an expression results in a signal being delivered. The signal will be caught: you can safely deliver a signal such as SIGUSR1 that would normally cause the process to die.

Value

The value of the evaluated expression, invisibly, so you can do more testing if desired.

Author(s)

Brad Friedman - Regular


apomatix/AnalysisPageServer documentation built on May 26, 2019, 11:36 a.m.