VSTa manual pages  - NOTIFY (2)

NAME

notify - send VSTa event string to a target process or thread

CONTENTS

Synopsis
Description
Notes

SYNOPSIS

#include <sys/syscall.h> #include <sys/param.h>
int notify(pid_t pid, pid_t thread, char *err);

DESCRIPTION

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.

NOTES

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)
Generated by manServer 1.06 from notify.2 using man macros.