TIP: Click on subject to list as thread! ANSI
echo: public_domain
to: Frank Malcolm
from: Paul Edwards
date: 1996-03-24 14:18:52
subject: hexdump.c

FM> Good. But then I'm surprised that you didn't. In pseudocode...

I've never had a reason to care.

FM> set Start to the arg
FM> if Start is less than 0 set it to 0
FM> if Start is greater than the filesize set it to the filesize
FM> seek to Start

File size would require another seek, and of course you need to
check errors from these things.  My way was less code basically.
BFN.  Paul.
@EOT:

---
* Origin: X (3:711/934.9)

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.