delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1997/06/25/09:25:05

From: sandmann AT clio DOT rice DOT edu (Charles Sandmann)
Message-Id: <9706251307.AA15581@clio.rice.edu>
Subject: Re: Debugging options
To: dz AT bo DOT dada DOT it (Diego Zuccato)
Date: Wed, 25 Jun 1997 08:07:28 -0600 (CDT)
Cc: broeker AT physik DOT rwth-aachen DOT de, djgpp-workers AT delorie DOT com
In-Reply-To: <33B0CB63.2DBD@bo.dada.it> from "Diego Zuccato" at Jun 25, 97 09:40:19 am

> Does mprotect() get 'any' address ? Or does it need that the passed
> address is aligned on a page start ? What happens if it's not aligned ?

mprotect rounds down to the nearest 4096 boundary and up to the nearest
boundary, so you had better align things yourself if you don't want to be
surprised.

> > You may find some unix code will work out of the box with this call :-)
> Really a good thing :-)

If you find any missing constants or macros in unix code which DJGPP could
implement, please send patches!

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019