Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Mar 2000 23:35:13 -0600 (CST)
From:      Ryan Thompson <ryan@sasknow.com>
To:        cjclark@home.com
Cc:        Zhihui Zhang <zzhang@cs.binghamton.edu>, freebsd-questions@FreeBSD.ORG
Subject:   Re: library routine used to read a configuration file
Message-ID:  <Pine.BSF.4.21.0003142332220.17508-100000@ren.sasknow.com>
In-Reply-To: <20000315001252.C56931@cc942873-a.ewndsr1.nj.home.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Crist J. Clark wrote to Zhihui Zhang:

> 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)
       ^^^

scanf(3), certainly?  Or did I miss something here?



> 
> 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.
> 

-- 
  Ryan Thompson <ryan@sasknow.com>
  Systems Administrator, Accounts
  Phone: +1 (306) 664-1161

  SaskNow Technologies     http://www.sasknow.com
  #106-380 3120 8th St E   Saskatoon, SK  S7H 0W2



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.21.0003142332220.17508-100000>