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
 

Detailed Description

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.

Field Documentation

◆ argv

const char* exec_params::argv

Contains the concatenated argument strings

◆ argv_size

size_t exec_params::argv_size

Total size of the @argv buffer

◆ envp

const char* exec_params::envp

Contains the concatenated environnement variables

◆ envp_size

size_t exec_params::envp_size

Total size of the @envp buffer


The documentation for this struct was generated from the following file: