PatchworkOS  966e257
A non-POSIX operating system.
Loading...
Searching...
No Matches
note.h File Reference
#include <signal.h>
#include <stdint.h>
#include <sys/proc.h>
Include dependency graph for note.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define _NOTE_MAX_HANDLERS   32
 

Functions

void _note_init (void)
 
uint64_t _note_handler_add (atnotify_func_t func)
 
void _note_handler_remove (atnotify_func_t func)
 
int _signal_raise (int sig)
 
sighandler_t _signal_handler_add (int sig, sighandler_t func)
 
void _signal_handler_remove (int sig, sighandler_t func)
 

Macro Definition Documentation

◆ _NOTE_MAX_HANDLERS

#define _NOTE_MAX_HANDLERS   32

Definition at line 7 of file note.h.

Function Documentation

◆ _note_init()

void _note_init ( void  )

Definition at line 68 of file note.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _note_handler_add()

uint64_t _note_handler_add ( atnotify_func_t  func)

Definition at line 76 of file note.c.

Here is the caller graph for this function:

◆ _note_handler_remove()

void _note_handler_remove ( atnotify_func_t  func)

Definition at line 90 of file note.c.

Here is the caller graph for this function:

◆ _signal_raise()

int _signal_raise ( int  sig)

Definition at line 102 of file note.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _signal_handler_add()

sighandler_t _signal_handler_add ( int  sig,
sighandler_t  func 
)

Definition at line 113 of file note.c.

Here is the caller graph for this function:

◆ _signal_handler_remove()

void _signal_handler_remove ( int  sig,
sighandler_t  func 
)

Definition at line 124 of file note.c.