|
My Kernel v0.1.0
|
Executable parameters. More...
#include <execfmt.h>
Data Fields | |
| const char * | argv |
| size_t | argv_size |
| const char * | envp |
| size_t | envp_size |
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.
| const char* exec_params::argv |
Contains the concatenated argument strings
| size_t exec_params::argv_size |
Total size of the @argv buffer
| const char* exec_params::envp |
Contains the concatenated environnement variables
| size_t exec_params::envp_size |
Total size of the @envp buffer