home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / msdos / programm / 10728 < prev    next >
Encoding:
Text File  |  1992-11-17  |  1.4 KB  |  32 lines

  1. Newsgroups: comp.os.msdos.programmer
  2. From: malcolm@muir.demon.co.uk ("Malcolm S. Muir")
  3. Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!zaphod.mps.ohio-state.edu!cs.utexas.edu!hermes.chpc.utexas.edu!news.utdallas.edu!corpgate!bnrgate!bnr.co.uk!pipex!demon!muir.demon.co.uk!malcolm
  4. Subject: Re: How is fread/fwrite implemented ? 
  5. Distribution: world
  6. References: <1992Nov16.140538.165141@dstos3.dsto.gov.au>
  7. Organization: Muir
  8. Reply-To: malcolm@muir.demon.co.uk
  9. X-Mailer: Simple NEWS 1.90 (ka9q DIS 1.18)
  10. Lines: 17
  11. Date: Tue, 17 Nov 1992 11:38:46 +0000
  12. Message-ID: <722000326snz@muir.demon.co.uk>
  13. Sender: usenet@gate.demon.co.uk
  14.  
  15.  
  16. In article <1992Nov16.140538.165141@dstos3.dsto.gov.au> egg@dstos3.dsto.gov.au writes:
  17.  
  18. >Does anyone know how the fread/fwrite functions in Borland C are implemented.
  19. >I would like to write a small model function to read/write to far data.
  20.  
  21. fread/fwrite have nothing to do with far data !!!  They are functions
  22. for reading / writing data to / from a stream.
  23.  
  24. Just declare the data variables you are trying to read as far.
  25.  
  26. -- 
  27. =============================================================================
  28. Malcolm S. Muir                              EMAIL: malcolm@muir.demon.co.uk
  29. Sunderland                                   CIX: mmuir BIX: mmuir
  30. England                                      CSERVE: 100012,31
  31. ======================= PGP 2.0 Public Key Available ========================
  32.