Go to main content

signal

Send a signal

SIGNAL

NAME

signal - Send a signal to a process

SYNOPSIS

signal(pid, signal)

DESCRIPTION

This function is used to send a signal to a process.

This function accept signal SIGUSR1 (10) or SIGUSR2 (12) only.

Available from version 5.136.

PARAMETERS

pid

The process ID.

signal
 
The signal to send to the process. 10 or 12.

EXAMPLES

Note: In the followings examples, the _ between the { should be removed to make it work.

%include "/sncode/include/extenso.sn";

signal(pid,SIGUSR1);

SEE ALSO

AUTHOR

Written by Pierre Laplante <laplante@sednove.com>

Edit

© 2024 extenso Inc. All rights reserved.