home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: chang.unx.sas.com!walker
- From: walker@chang.unx.sas.com (Doug Walker)
- Subject: Re: Copy with c
- Sender: news@unx.sas.com (Noter of Newsworthy Events)
- Message-ID: <DoGrEL.GrE@unx.sas.com>
- Date: Mon, 18 Mar 1996 12:44:45 GMT
- X-Nntp-Posting-Host: chang.unx.sas.com
- References: <660.6643T24T753@enterprise.net> <3149B305.586B@dmu.ac.uk>
- Organization: SAS Institute Inc.
-
- In article <3149B305.586B@dmu.ac.uk>, Timothy Eves <se1te@dmu.ac.uk> wrote:
- >Do mean using ANSI C or using the OS?
- >
- >The ANSI C method you would have to open the source and dest files and
- >do a byte by byte copy.
- >
- >Using the OS would be better as you could do a buffered copy using the
- >dos.library commands.
- >
- >i.e. Allocate a 1Kb buffer and read from the source and write to dest in
- >1k chunks.
-
- Huh? Why can't you do a buffered copy with ANSI fopen/fread/fwrite?
-
- --
- *****
- *|_o_o|\\ Doug Walker walker@unx.sas.com
- *|. o.| ||
- | o |// Any opinions are mine, not those of SAS Institute, Inc.
- ======
-