Files
mop3/libprocess/process.h
kamkow1 58c515e90a
All checks were successful
Build documentation / build-and-deploy (push) Successful in 2m21s
Create libioutil, implement a filewriter
2026-03-02 22:47:10 +01:00

17 lines
425 B
C

#ifndef _LIBPROCESS_PROCESS_PROCESS_H
#define _LIBPROCESS_PROCESS_PROCESS_H
#include <page_size.h>
#include <system.h>
/* Size of process' stack */
#define STACK_SIZE (256 * PAGE_SIZE)
/* Process entry function */
typedef void (*process_func_t) (void);
/* Spawn a new process within the same procgroup with argument */
int process_spawn (process_func_t func, void* argument_ptr);
#endif // _LIBPROCESS_PROCESS_PROCESS_H