notify - send VSTa event string to a target process or thread
Synopsis
Description
Notes
#include <sys/syscall.h> #include <sys/param.h>
int notify(pid_t pid, pid_t thread, char *err);
notify() delivers a VSTa event to the indicated target. If pid is 0, the current process is affected. If thread is 0, all threads in the target process are affected. Finally, if thread is -1, all processes associated with the given process group are affected.The string specified, which can be up to EVLEN characters in length, is sent to each target. If the process has an event handler, it will be invoked; see notify_handler(). Otherwise, the target will terminate. The unique string "kill" can not be caught; it always causes termination.
The notify() system call wrapper actually counts up the length of the event string, and passes this count in to the actual kernel interface.
NOTIFY (2) |