Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Mar 2000 15:34:22 -0800 (PST)
From:      Woody Carey <wcarey@wcarey.com>
To:        Zhihui Zhang <zzhang@cs.binghamton.edu>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: library routine used to read a configuration file
Message-ID:  <Pine.BSF.4.10.10003151509000.19481-100000@mail.wcarey.com>
In-Reply-To: <Pine.GSO.3.96.1000314115751.15126A-100000@sol.cs.binghamton.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

there are some libraries in /usr/ports/devel that help with this.

you can also write a nice class to do this using
the standard library map class.  A map of two strings.  

Also check out some of the online free c++ library guides for this sort
of thing.  There should be some called CmdLine and Options, both from
the same guy, which work on FreeBSD.  http://www.enteract.com/~bradapp

 - Woody

On Tue, 14 Mar 2000, Zhihui Zhang wrote:

> 
> I need to write a daemon that reads a configuration file when it starts.
> Is there any library routines that can help me on this?  Thanks a lot.
> 
> -Zhihui
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10003151509000.19481-100000>