On Wed, Jan 01, 2003 at 01:51:57PM -0800, Tim Kientzle wrote:
> I'm trying to figure out how to read and use /etc/rc.conf
> configuration variables from within a C program.
You could perhaps copy the way that "The Fish" does it?
Take a look at "ports/sysutils/thefish".
The "parser.c" code appears to read /etc/{,defaults/}rc.conf and place
all the options into a linked list.
--
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message