AquilaOS documentation
How it works, and its code
Toggle main menu visibility
Loading...
Searching...
No Matches
kargs.h
Go to the documentation of this file.
1
#ifndef _KARGS_H
2
#define _KARGS_H
3
4
/* The kernel's command line (core/kargs.c). */
5
6
/* Splits the command line into arguments, at boot. */
7
int
kargs_parse
(
const
char
*_cmdline);
8
9
/* Looks up an argument: 0 if it was given, -1 if not. */
10
int
kargs_get
(
const
char
*key,
const
char
**value);
11
12
#endif
/* ! _KARGS_H */
kargs_get
int kargs_get(const char *key, const char **value)
Looks up an argument of the kernel's command line.
Definition
kargs.c:73
kargs_parse
int kargs_parse(const char *_cmdline)
Splits the kernel's command line into arguments, at boot.
Definition
kargs.c:31
kernel
include
core
kargs.h
Generated by
1.18.0