|
My Kernel v0.1.0
|
Executable parameters. More...
#include <execfmt.h>
Data Fields | |
| char *const * | argv |
| size_t | argc |
| char *const * | envp |
| size_t | envpc |
These parameters are pushed onto the stack to be passed as arguments to the executable's entrypoint function (main).
The argument strings must be concatenated and separated with a NULL byte inside the argv buffer. This is also the case for envp.
| size_t exec_params::argc |
Total size of the @argv buffer
| char* const* exec_params::argv |
Contains the string array of arguments
| char* const* exec_params::envp |
Contains the environnement variables
| size_t exec_params::envpc |
Total size of the @envp buffer