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