Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Mar 2000 10:37:35 +0000
From:      Ben Smithurst <ben@scientia.demon.co.uk>
To:        Ryan Thompson <ryan@sasknow.com>
Cc:        cjclark@home.com, Zhihui Zhang <zzhang@cs.binghamton.edu>, freebsd-questions@FreeBSD.ORG
Subject:   Re: library routine used to read a configuration file
Message-ID:  <20000315103735.B16722@strontium.scientia.demon.co.uk>
In-Reply-To: <Pine.BSF.4.21.0003142332220.17508-100000@ren.sasknow.com>
References:  <20000315001252.C56931@cc942873-a.ewndsr1.nj.home.com> <Pine.BSF.4.21.0003142332220.17508-100000@ren.sasknow.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000315103735.B16722>