Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Program initialization data

Status
Not open for further replies.

CaKiwi

Programmer
Joined
Apr 8, 2001
Messages
1,294
Location
US
I am wondering if there is a standard way to store program initialization data on Linux, in the same way that windows programs use the registry. It seems that some programs use an initialization file with section names in square brackets followed by lines in the form option = data. Is this the "standard" way to do it and, if so, are there any routines that I can include in my program to simplify implementation? I have only a limited amount of data so another possibility would be to use environmental variables. I am using GCC on Mandrake 8.1.
Thanks in advance. CaKiwi
 
Hi,

Mostly text config files are used - similar to windows .ini file before the dreaded registry.

However, there is also a gnome component called GConf which is much more like the M$ 'registry' than the .conf files -->

Hope this helps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top