home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / arch / 11991 < prev    next >
Encoding:
Internet Message Format  |  1992-12-29  |  990 b 

  1. Path: sparky!uunet!olivea!spool.mu.edu!uwm.edu!ux1.cso.uiuc.edu!news.cso.uiuc.edu!lyra.scs.uiuc.edu!mcdonald
  2. From: mcdonald@aries.scs.uiuc.edu (J. D. McDonald)
  3. Newsgroups: comp.arch
  4. Subject: Re: UNIX fseek time (was Re: Comparison of Alpha, MIPS and PA-RISC-II wanted)
  5. Message-ID: <mcdonald.10@aries.scs.uiuc.edu>
  6. Date: 30 Dec 92 01:25:49 GMT
  7. References: <1477@pacsoft.com> <1992Dec29.212344.20899@qb.rhein-main.de> <mcdonald.8@aries.scs.uiuc.edu>
  8. Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
  9. Organization: UIUC SCS
  10. Lines: 14
  11.  
  12. In article <mcdonald.8@aries.scs.uiuc.edu>  I wrote:
  13.  
  14. >A seek to a location in a text file is no slower than in a binary file.
  15.  
  16. >This is because the location ... the number that the fseek is to ...
  17. >can be to a number of bytes in the file ... one does **not** need to
  18. >take into account the CRLF pairs. An fseek can **only** be to one of three
  19. >places:
  20.  
  21. >1) the beginning
  22.  
  23. >2) the end
  24.         ^^^
  25. This is wrong. It's illegal. I hit the "send" key too soon!
  26.