delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/22/07:50:11

Message-Id: <199906221109.NAA23049@deimos.worldonline.nl>
From: "Bart Alewijnse" <scarfman AT geocities DOT com>
To: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Cc: <djgpp AT delorie DOT com>
Subject: Re: Screen copy
Date: Tue, 22 Jun 1999 13:08:01 +0200
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

This is a multi-part message in MIME format.

------=_NextPart_000_01BEBCB0.41A438A0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit


Thanx bunches on the screen copy stuff.. Next question: (sorry:)
How can you determine where in a file you are (declared by eg. 
FILE *infile;) fseek does know where to look (for its relative move)
but I can't find the definition of FILE, nor the code for fseek().

Is there a way that doesn't mean fseeking a lot, (fseek relative +1,
testing for EOF, then absolute fseek to 0, and do it again, to see
where in the file you must fseek you were and must return to)
wasting a lot of time?

-Bart
------=_NextPart_000_01BEBCB0.41A438A0
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<html><head></head><BODY bgcolor=3D"#FFFFFF"><p><font size=3D2 =
color=3D"#000000" face=3D"Arial"><br>Thanx bunches on the screen copy =
stuff.. Next question: (sorry:)<br>How can you determine where in a file =
you are (declared by eg. <br>FILE *infile;) fseek does know where to =
look (for its relative move)<br>but I can't find the definition of FILE, =
nor the code for fseek().<br><br>Is there a way that doesn't mean =
fseeking a lot, (fseek relative +1,<br>testing for EOF, then absolute =
fseek to 0, and do it again, to see<br>where in the file you must fseek =
you were and must return to)<br>wasting a lot of time?<br><br>-Bart</p>
</font></body></html>
------=_NextPart_000_01BEBCB0.41A438A0--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019