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 IamaSherpa 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
Apr 8, 2001
1,294
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top