From owner-freebsd-questions Wed Mar 15 9:29:19 2000 Delivered-To: freebsd-questions@freebsd.org Received: from o-o.org (o-o.org [207.252.201.100]) by hub.freebsd.org (Postfix) with ESMTP id B002837BB63 for ; Wed, 15 Mar 2000 09:29:12 -0800 (PST) (envelope-from kaila@o-o.org) Received: from localhost (root@localhost) by o-o.org (8.8.8/8.8.8) with ESMTP id LAA15329; Wed, 15 Mar 2000 11:28:44 -0600 (CST) (envelope-from kaila@o-o.org) Date: Wed, 15 Mar 2000 11:28:44 -0600 (CST) From: Kaila To: Zhihui Zhang Cc: freebsd-questions@FreeBSD.ORG Subject: Re: library routine used to read a configuration file In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 > I personally have found the getcap(3) functions to be remarkably useful for this. [ EMail : kaila@o-o.org ] [ Name : Christine F. Maxwell ] [ Home : http://www.o-o.org/~kaila/ ] [ Hobbies : write, program, web, chat ] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message