X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Bl2tZ5cDrCjjoRweGyxgZJ8hLuXwGpme6aU66Zmxk/8=; b=SUINtUM5W3CG CHf7ALwlU+nmXvX+ZmD0Ma5t//wHpHjwV9Kroq6xQhowx4FM54xmdD/IHKcSTNmvXEI0aJLojlKL2 Et1wDn/c8bP46vx/CjGvTtl5g+Siq5zWOvfNVNq6b7p4LNgQd/3Nu5gMIV5/wfVnnXuS8BRio+0Yr AYj8SHx4Xp5yrnvdxN20M6JL2zI1E/8908E+NilPFGdMYuVf7bG8izJlS/UBMkR4SKlbRhuYzjntz lcMc+7f7KooCg0wkOfj/C1JrLdZPfOpj1IsVxJfCRO+D2j9qZiKY69mNHbZXTPUEwePFkWbHECQl1 Aq03dHivqGPVur4BYT6KLQ==; Date: Thu, 22 Feb 2024 15:38:03 +0200 Message-Id: <86v86g1ux0.fsf@gnu.org> From: "Eli Zaretskii (eliz AT gnu DOT org) [via djgpp AT delorie DOT com]" To: Pali Cc: djgpp AT delorie DOT com In-Reply-To: <20240218103511.5zjrwdy2l53ccn45@pali> (message from Pali on Sun, 18 Feb 2024 11:35:11 +0100) Subject: Re: DJGPP documentation updates References: <20240213210641 DOT 52jnxonf3zuc2qxw AT pali> <86mss3xfu9 DOT fsf AT gnu DOT org> <20240217155210 DOT cs5mqv3izh5jlvee AT pali> <86eddbt6e3 DOT fsf AT gnu DOT org> <20240218103511 DOT 5zjrwdy2l53ccn45 AT pali> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Date: Sun, 18 Feb 2024 11:35:11 +0100 > From: Pali > Cc: djgpp AT delorie DOT com > > I'm sending another simple documentation change. In documentation for > getting and setting attributes is written wrong name of the structure > field in which is stored number pages. > > --- src/libc/dpmi/api/d0506.txh > +++ src/libc/dpmi/api/d0506.txh > @@ -20,7 +20,7 @@ not by Windows. > This function retrieves the attributes of a number of pages. Pass the > handle in @code{@var{info}->handle}, offset of first page (relative to > start of block) in @code{@var{info}->address}, and number of pages in > -@code{@var{info}->count}. The buffer @var{buffer} gets filled in with > +@code{@var{info}->size}. The buffer @var{buffer} gets filled in with > the attributes. For each page, a 16-bit attribute word in @var{buffer} > defines the attributes of that page as follows: > > --- src/libc/dpmi/api/d0507.txh > +++ src/libc/dpmi/api/d0507.txh > @@ -20,7 +20,7 @@ not by Windows. > This function sets attributes of a number of pages. Pass handle in > @code{@var{info}->handle}, offset within block in > @code{@var{info}->address}, and number of pages in > -@code{@var{info}->count}. @var{buffer} points to an array of 16-bit > +@code{@var{info}->size}. @var{buffer} points to an array of 16-bit > words which specify the new attributes. > @xref{__dpmi_get_page_attributes}, for the definition of the page > attribute word. Thanks, installed.