iPXE
Functions
linux_args.h File Reference

Go to the source code of this file.

Functions

 FILE_LICENCE (GPL2_OR_LATER)
 
__asmcall void save_args (int argc, char **argv)
 Save argc and argv for later access. More...
 

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER  )

◆ save_args()

__asmcall void save_args ( int  argc,
char **  argv 
)

Save argc and argv for later access.

To be called by linuxprefix

Definition at line 40 of file linux_args.c.

41 {
42  saved_argc = argc;
43  saved_argv = argv;
44 }
static int saved_argc
Saved argc.
Definition: linux_args.c:31
static char ** saved_argv
Saved argv.
Definition: linux_args.c:33

References saved_argc, and saved_argv.