#include <oskit/c/signal.h>void oskit_sendsig_init(int (*deliver_function)(int signo, int code, struct trap_state *ts));
Initialize the kernel signal delivery mechanism, providing an upper level signal delivery routine. This delivery function will usually be an entrypoint in the C library that provides the appropriate signal semantics to the application. This entrypoint is responsible for converting the machine dependent trap state information into a suitable signal context structure, as defined by the API of the library in use. Since a pointer to the trap state structure is passed along, the callee is free to modify the machine state in way it wishes.
- oskit_init_libc
- 9.9.1