Files
mop3/libmsl/proc/proc.h
kamkow1 38e26a9c12
All checks were successful
Build documentation / build-and-deploy (push) Successful in 37s
Implement argument_ptr () syscall for handling process arguments
2026-01-30 14:05:47 +01:00

15 lines
309 B
C

#ifndef _LIBMSL_PROC_PROC_H
#define _LIBMSL_PROC_PROC_H
#include <m/system.h>
#define PROC_STACK_SIZE 256 * PAGE_SIZE
typedef void (*process_func_t) (void);
int process_spawn (process_func_t func, void* argument_ptr);
int process_quit (void);
void* process_argument (void);
#endif // _LIBMSL_PROC_PROC_H