Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #7250

Re: Determining EOF using fseek()?

From John Gordon <gordon@panix.com>
Newsgroups comp.lang.c
Subject Re: Determining EOF using fseek()?
Date 2011-06-29 21:46 +0000
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <iug6eq$rje$1@reader1.panix.com> (permalink)
References <iug5sl$5je$1@speranza.aioe.org>

Show all headers | View raw


> Anyone with suggestions with using fseek() or some other function?

If you just want to test for end-of-file, use feof().

-- 
John Gordon                   A is for Amy, who fell down the stairs
gordon@panix.com              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Determining EOF using fseek()? Orion <won@bigpond.net.au> - 2011-06-29 21:36 +0000
  Re: Determining EOF using fseek()? John Gordon <gordon@panix.com> - 2011-06-29 21:46 +0000
  Re: Determining EOF using fseek()? Eric Sosman <esosman@ieee-dot-org.invalid> - 2011-06-29 21:51 -0400
    Re: Determining EOF using fseek()? John Gordon <gordon@panix.com> - 2011-06-30 03:55 +0000
  Re: Determining EOF using fseek()? David Thompson <dave.thompson2@verizon.net> - 2011-07-11 00:26 -0400
  Re: Determining EOF using fseek()? Squeamizh <squeamz@hotmail.com> - 2011-07-10 23:40 -0700
    Re: Determining EOF using fseek()? Uno <merrilljensen@q.com> - 2011-07-16 23:21 -0700

csiph-web