site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Domainkey-signature: q=dns; a=rsa-sha1; c=nofws; s=test; d=omniti.com; h=Received:Mime-Version:Content-Type:Message-Id:Cc:Content-Transfer-Encoding:From:Subject:Date:To:X-Mailer; b=gmSWozvDsaCV9CCh921U3hvyAcCrtsAu/CYHoupjtUQFLnW/WGKLHe14bf67FVWc yBm89TmeDb2c/ASA5LGDpPULKU1C+jr8OgrJi2avQ1wv4K4ARmwZPijoq5c1ZK4p Domainkey-status: good Hello all, Thanks! // Theo Schlossnagle // Principal Engineer -- http://www.omniti.com/~jesus/ // OmniTI Computer Consulting, Inc. -- http://www.omniti.com/ // Ecelerity: Run with it. _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... I'm porting an app that uses mmap() and banks on its alignment behaviour on Solaris and Linux. I'd like to mmap a 64k and have the resulting address be aligned on a 64k boundary. I'm trying with: mmap((void *)65536, 65536, PROT_NONE, MAP_PRIVATE | MAP_ANON | MAP_NORESERVE | MAP_ALIGN, -1, 0); However, the return address is not modulo 64k. How do I accomplish what I want? This email sent to site_archiver@lists.apple.com