home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / amiga / programm / 13186 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  1.2 KB

  1. Path: sparky!uunet!charon.amdahl.com!amdahl!JUTS!duts.ccc.amdahl.com!aces
  2. From: aces@mcode.amdahl.com (Jeffrey D. Smith)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: fopen() or Open()
  5. Message-ID: <0cKu02Ny21.h01@JUTS.ccc.amdahl.com>
  6. Date: 8 Sep 92 19:00:30 GMT
  7. References: <1992Sep6.110217.29976@samba.oit.unc.edu> <1992Sep8.172432.15690@jato.jpl.nasa.gov>
  8. Sender: netnews@ccc.amdahl.com
  9. Reply-To: jds30@amail.amdahl.com
  10. Organization: Amdahl Corporation, Sunnyvale Ca.
  11. Lines: 11
  12.  
  13. In article <1992Sep8.172432.15690@jato.jpl.nasa.gov>, jdickson@jato.jpl.nasa.gov (Jeff Dickson) writes:
  14. > In article <1992Sep6.110217.29976@samba.oit.unc.edu> Frederick.Theilig@bbs.oit.unc.edu (Frederick Theilig) writes:
  15. > >     Please humor me.  Why why should I use AmigaDOS Open() and Close()
  16. > > rather than C's fopen() and fclose()?
  17. > >--
  18. > Because, chances are C utilizes those very same functions to pull off fopen()
  19. > and fclose(). Therefore - for performance reasons.
  20. But only if performance is required and portability is not required.  Also,
  21. if you use the AmigaDOS calls Open() and Close(), then you must ONLY use
  22. AmigaDOS calls for reading and writing.  You cannot mix UN*X or ANSI I/O
  23. calls with AmigaDOS I/O calls.
  24.