PatchworkOS
Loading...
Searching...
No Matches
exit_stack.h File Reference
#include <stdint.h>

Go to the source code of this file.

Macros

#define _EXIT_STACK_SIZE   40
 

Functions

void _exit_stack_init (void)
 
uint64_t _exit_stack_push (void(*func)(void))
 
void _exit_stack_dispatch (void)
 

Macro Definition Documentation

◆ _EXIT_STACK_SIZE

#define _EXIT_STACK_SIZE   40

Definition at line 5 of file exit_stack.h.

Function Documentation

◆ _exit_stack_dispatch()

void _exit_stack_dispatch ( void  )

Definition at line 27 of file exit_stack.c.

References _length, and _stack.

Referenced by exit().

◆ _exit_stack_init()

void _exit_stack_init ( void  )

Definition at line 9 of file exit_stack.c.

References _length.

Referenced by _user_init().

◆ _exit_stack_push()

uint64_t _exit_stack_push ( void(*)(void)  func)

Definition at line 14 of file exit_stack.c.

References _EXIT_STACK_SIZE, _length, _stack, and ERR.