[prev in list] [next in list] [prev in thread] [next in thread]
List: 9fans
Subject: Re: [9fans] Why doesn't bio have bscanf?
From: Paul Lalonde <plalonde () telus ! net>
Date: 2005-09-23 15:59:20
Message-ID: E8146160-EEAD-4C1D-8AA1-0B53E90EE1EA () telus ! net
[Download RAW message or body]
On 23-Sep-05, at 8:46 AM, andrey mirtchovski wrote:
>
> how about just Brdstr() followed by sscanf()?
>
>
Because the sscanf pattern may run out of buffer - a scanf call can
read multiple lines, for example.
It's really just plain ugly.
The correct argument against it, credit to Russ, is error checking
and recovery - we should be using real parsers for the ugly little
files that are currently being munged with fscanf.
Paul
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic