🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #2590

Re: Reading more than 64K

#2590
From: Larry Salomon, Jr.
Date: Tue, 30 Apr 1991 16:32
21 lines
1446 bytes
In <1991Apr26.092056.8951@nntp-server.caltech.edu>, gah@nntp-server.caltech.edu (Geln A. Herrmannsfeldt) writes:
>
>I thought I saw that putting 0 in for the length gives 65536 bytes,
>but I can't right now find it in the book.

That is for DosAllocSeg.  DosRead does not support 65536 byte reads (it's
in the docs).

>The length parameter is short, so a number greater than 65536 could
>not be specified.

Cheers,
Larry Salomon, Jr. (aka 'Q')            LARRYS@YKTVMV.BITNET
OS/2 Applications and Tools             larrys@ibmman.watson.ibm.com
IBM T.J. Watson Research Center         larrys@eng.clemson.edu
Yorktown Heights, NY

Disclaimer:  The statements and/or opinions stated above are strictly my
own and do not reflect the views of my employer.  Additionally, I have a
reputation for being obnoxious, so don't take any personal attacks too
seriously.
Technical Details
Message-ID: <1991Apr30.163255.7751@watson.ibm.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!bywater!arnor!ibmman!larrys
References: <1991Apr26.092056.8951@nntp-server.caltech.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!bywater!arnor!ibmman!larrys
From: larrys@watson.ibm.com (Larry Salomon, Jr.)
Newsgroups: comp.os.os2.programmer
Subject: Re: Reading more than 64K
Message-ID: <1991Apr30.163255.7751@watson.ibm.com>
Date: 30 Apr 91 16:32:58 GMT
References: <1991Apr26.092056.8951@nntp-server.caltech.edu>
Sender: larrys@ibmman.watson.ibm.com
Reply-To: larrys@yktvmv
Distribution: comp.os.os2.programmer
Organization: IBM Research
Lines: 21
News-Software: NewsKit 1.2 - LaMail
Nntp-Posting-Host: ibmman