Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Sep 1995 21:44:29 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        peter@taronga.com (Peter da Silva)
Cc:        terry@lambert.org, peter@taronga.com, hackers@freebsd.org
Subject:   Re: Policy on printf format specifiers?
Message-ID:  <199509200444.VAA14075@phaeton.artisoft.com>
In-Reply-To: <199509200128.UAA13444@bonkers.taronga.com> from "Peter da Silva" at Sep 19, 95 08:28:25 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> > 8-).  The complaint isn't
> > that you can't work around what is effectively a loss of information, but
> > that you have to do so.
> 
> What information loss is that?

How many records are in the file from stat information.

struct myrecord {
...
};

	...
	fstat( fs, &sb);
	records = sb.st_size / sizeof(struct myrecord);
	...

For one.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



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