AquilaOS documentation
How it works, and its code
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. */
7int kargs_parse(const char *_cmdline);
8
9/* Looks up an argument: 0 if it was given, -1 if not. */
10int kargs_get(const char *key, const char **value);
11
12#endif /* ! _KARGS_H */
int kargs_get(const char *key, const char **value)
Looks up an argument of the kernel's command line.
Definition kargs.c:73
int kargs_parse(const char *_cmdline)
Splits the kernel's command line into arguments, at boot.
Definition kargs.c:31