LabWindows/CVI

Content Type
Programming Language
Current manual

raise

raise

int raise (int signal);

Purpose

Sends the specified signal to the executing program.

Parameters

Input
Name Type Description
signal int Contains the signal to be sent to the executing program. ANSI Standard defines the signal options available in this parameter. Additional signals may be available for different platforms. Check the header file signal.h for additional signal options. The following signals are available:
Name Value (int) Definition
Interactive Attention SIGINT (1) Receipt of an interactive attention signal, like an interrupt
Invalid Function Image SIGILL (2) Detection of an invalid function image, such as an illegal instruction
Abnormal Termination SIGABRT (3) Abnormal termination, such as is initiated by the abort function
Erroneous Arithmetic SIGFPE (4) An erroneous arithmetic operation, such as divide by zero or overflow
Invalid Storage Access SIGSEGV (5) An invalid access to storage
Request Termination SIGTERM (6) A termination request sent to the program

Return Value

Name Type Description
status int Contains the returned status of the function. If successful, the function returns zero; otherwise, it returns nonzero.

Additional Information

Library: ANSI C Library

Include file: ansi_c.h

LabWindows/CVI compatibility: LabWindows/CVI 3.0 and later

Was this information helpful?