This website requires JavaScript.
Explore
Help
Sign In
ExternalVendorCode
/
genode
Watch
1
Star
0
Fork
0
You've already forked genode
mirror of
https://github.com/genodelabs/genode.git
synced
2024-12-23 07:22:25 +00:00
Code
Issues
Actions
Packages
Projects
Releases
Wiki
Activity
f82e1a7092
genode
/
os
/
lib
/
mk
/
config_args.mk
6 lines
83 B
Makefile
Raw
Normal View
History
Unescape
Escape
Read 'main()' function arguments from config file This patch reads program arguments from the config file and makes them available to the application via the 'argc' and 'argv' arguments of the 'main()' function. The configuration syntax looks like this: <config> <arg value="..."> <arg value="..."> ... </config> The 'value' attribute of the first <arg> node becomes 'argv[0]' and so on. Fixes #184.
2012-04-18 15:45:03 +00:00
SRC_CC
=
config_args.cc
os: Move Genode::Config into 'config' library Originally, the convenience utility for accessing a process configuration came in the form of a header file. But this causes aliasing problems if multiple compilation units access the config while the configuration gets dynamically updated. Moving the implementation of the accessor to the singleton object into a library solves those problems.
2013-09-08 00:44:30 +00:00
LIBS
+=
config
Read 'main()' function arguments from config file This patch reads program arguments from the config file and makes them available to the application via the 'argc' and 'argv' arguments of the 'main()' function. The configuration syntax looks like this: <config> <arg value="..."> <arg value="..."> ... </config> The 'value' attribute of the first <arg> node becomes 'argv[0]' and so on. Fixes #184.
2012-04-18 15:45:03 +00:00
v
p
a
t
h
%
.
c
c
$(
REP_DIR
)
/
s
r
c
/
l
i
b
/
c
o
n
f
i
g
_
a
r
g
s
Reference in New Issue
Copy Permalink