From owner-freebsd-questions Wed Mar 15 2:38: 5 2000 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id 58DE637B910 for ; Wed, 15 Mar 2000 02:38:02 -0800 (PST) (envelope-from ben@scientia.demon.co.uk) Received: from strontium.scientia.demon.co.uk ([192.168.91.36] ident=exim) by scientia.demon.co.uk with esmtp (Exim 3.12 #1) id 12VBBI-000Hsr-00; Wed, 15 Mar 2000 10:37:36 +0000 Received: (from ben) by strontium.scientia.demon.co.uk (Exim 3.12 #7) id 12VBBH-00081y-00; Wed, 15 Mar 2000 10:37:35 +0000 Date: Wed, 15 Mar 2000 10:37:35 +0000 From: Ben Smithurst To: Ryan Thompson Cc: cjclark@home.com, Zhihui Zhang , freebsd-questions@FreeBSD.ORG Subject: Re: library routine used to read a configuration file Message-ID: <20000315103735.B16722@strontium.scientia.demon.co.uk> References: <20000315001252.C56931@cc942873-a.ewndsr1.nj.home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ryan Thompson wrote: > Crist J. Clark wrote to Zhihui Zhang: > >> scanf(1) > ^^^ > > scanf(3), certainly? Or did I miss something here? Don't use scanf, sscanf is safer according to everything I've read. -- Ben Smithurst / ben@scientia.demon.co.uk / PGP: 0x99392F7D To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message