Xref: news2.mv.net comp.os.msdos.djgpp:4720 From: Enrico Horn <enrico DOT horn AT prakinf DOT tu-ilmenau DOT de> Newsgroups: comp.os.msdos.djgpp Subject: Re: Reading a disk file Date: Fri, 07 Jun 1996 09:50:43 +0200 Organization: Technische Universitaet Ilmenau Lines: 18 Message-ID: <31B7DF53.20A9@prakinf.tu-ilmenau.de> References: <tparvine DOT 833997688 AT niksula DOT hut DOT fi> NNTP-Posting-Host: ipisparc4.prakinf.tu-ilmenau.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Tero Lauri Juhani Parvinen <tparvine AT niksula DOT hut DOT fi> DJ-Gateway: from newsgroup comp.os.msdos.djgpp Tero Lauri Juhani Parvinen wrote: > > I tried to open a file using fopen and reading with fread, but only a part of > the requested amount of bytes was read. Did you explicitly say to open that files in binary mode ? (I think you want to open it in binary mode) Check the manuals for flags. Regards, Enrico. -- /---------------------------------------------------------------------\ |Enrico Horn Tel. 036738/41929 | |07426 Lichta E-mail: enrico DOT horn AT prakinf DOT tu-ilmenau DOT de | |Ortsstrasse Nr. 14 http://www.prakinf.tu-ilmenau.de/~ehorn | \---------------------------------------------------------------------/