mkernel 0.0.2
Micro-kernel framework, everything as a module
mkernel.c File Reference

Micro-kernel core main source. More...

#include "revision.h"
#include "gettext.h"
#include <locale.h>
#include "mkernel-opt.h"
#include "modmgr.h"
#include "mkmod.h"
#include "ansi-color-codes.h"
#include <stdlib.h>
#include <libgen.h>
#include "debug/assert.h"
#include "debug/memory.h"
Include dependency graph for mkernel.c:

Go to the source code of this file.

Macros

#define _(String)   gettext (String)
 GetText helper. More...
 
#define PATH_MAX   255
 
#define MODULE_PATH_ENV   "MODULE_PATH"
 Default environment variable name to get module patch from. More...
 
#define MODULE_PATH_DEFAULT   "."
 Default path to search modules in, if not defined by autotools (should be) More...
 

Functions

int main (int argc, char **argv, char **env)
 

Detailed Description

Micro-kernel core main source.

Date
10/11/2017
Author
François Cerbelle (Fanfan), franc.nosp@m.ois@.nosp@m.cerbe.nosp@m.lle..nosp@m.net

Definition in file mkernel.c.

Macro Definition Documentation

◆ _

#define _ (   String)    gettext (String)

GetText helper.

Definition at line 24 of file mkernel.c.

◆ MODULE_PATH_DEFAULT

#define MODULE_PATH_DEFAULT   "."

Default path to search modules in, if not defined by autotools (should be)

Definition at line 54 of file mkernel.c.

◆ MODULE_PATH_ENV

#define MODULE_PATH_ENV   "MODULE_PATH"

Default environment variable name to get module patch from.

Todo:
Define in configure.ac with default value

Definition at line 49 of file mkernel.c.

◆ PATH_MAX

#define PATH_MAX   255

Definition at line 40 of file mkernel.c.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv,
char **  env 
)

Definition at line 57 of file mkernel.c.

Here is the call graph for this function: