Date: Wed, 15 Mar 2000 00:12:52 -0500 From: "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.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: <20000315001252.C56931@cc942873-a.ewndsr1.nj.home.com> In-Reply-To: <Pine.GSO.3.96.1000314115751.15126A-100000@sol.cs.binghamton.edu>; from zzhang@cs.binghamton.edu on Tue, Mar 14, 2000 at 11:59:28AM -0500 References: <Pine.GSO.3.96.1000314115751.15126A-100000@sol.cs.binghamton.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Mar 14, 2000 at 11:59:28AM -0500, 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. scanf(1) OK, got that out of the way. Seriously, you may want to look at and possibly steal^H^H^H^H^H^H appropriate some source code from existing daemons that read files in formats similar to the ones you wish to make. -- Crist J. Clark cjclark@home.com 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?20000315001252.C56931>